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,438 @@
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
+ # Fields from the AAMVA mDL namespace.
18
+ class Iso180135AamvaNamespaceOutput < ApiModelBase
19
+ # Domestic categories of vehicles, restrictions, and conditions, parsed per AAMVA Section 7.2.4.
20
+ attr_accessor :domestic_driving_privileges
21
+
22
+ # Name suffix of the individual that has been issued the credential.
23
+ attr_accessor :name_suffix
24
+
25
+ # Whether the individual is an organ donor.
26
+ attr_accessor :organ_donor
27
+
28
+ # Whether the individual is a veteran.
29
+ attr_accessor :veteran
30
+
31
+ # Indicates whether the family name has been truncated. Possible values: - 'T': Truncated - 'N': Not truncated - 'U': Unknown whether truncated
32
+ attr_accessor :family_name_truncation
33
+
34
+ # Indicates whether the given name has been truncated. Possible values: - 'T': Truncated - 'N': Not truncated - 'U': Unknown whether truncated
35
+ attr_accessor :given_name_truncation
36
+
37
+ # Other family name by which the individual is known.
38
+ attr_accessor :aka_family_name_v2
39
+
40
+ # Other given name by which the individual is known.
41
+ attr_accessor :aka_given_name_v2
42
+
43
+ # Other suffix by which the individual is known.
44
+ attr_accessor :aka_suffix
45
+
46
+ # Approximate weight range of the individual, in kilograms.
47
+ attr_accessor :weight_range
48
+
49
+ # AAMVA D20 race or ethnicity code of the individual.
50
+ attr_accessor :race_ethnicity
51
+
52
+ # The sex of the individual as an AAMVA-defined sex code. This is distinct from an ISO/IEC 5218 sex code in two ways: there is no \"Unknown\" value, and \"Not Applicable\" is replaced with \"Not Specified\". Possible values: - 1: Male - 2: Female - 9: Not Specified
53
+ attr_accessor :sex
54
+
55
+ # First name of the individual.
56
+ attr_accessor :first_name
57
+
58
+ # Middle name or names of the individual.
59
+ attr_accessor :middle_names
60
+
61
+ # Whether the first name has been truncated.
62
+ attr_accessor :first_name_truncation
63
+
64
+ # Whether the middle name has been truncated.
65
+ attr_accessor :middle_names_truncation
66
+
67
+ # Deprecated AAMVA EDL (Enhanced Driver's License) credential indicator. If present, indicates the type of the EDL credential. Possible values: 1: Driver's License 2: Identification Card
68
+ attr_accessor :edl_credential
69
+
70
+ # Whether the credential is an Enhanced Driver's License (EDL).
71
+ attr_accessor :edl_credential_v2
72
+
73
+ # Whether the credential is REAL ID compliant. `true` for fully compliant (\"F\"), `false` for non-compliant (\"N\"), `null` when not present.
74
+ attr_accessor :dhs_compliance
75
+
76
+ # Deprecated county code for the county where the individual lives.
77
+ attr_accessor :resident_county
78
+
79
+ # County code for the county where the individual lives.
80
+ attr_accessor :resident_county_v2
81
+
82
+ # Date on which the hazardous material endorsement expires.
83
+ attr_accessor :hazmat_endorsement_expiration_date
84
+
85
+ # Whether the credential is a Commercial Driver's License (CDL) per FMCSA.
86
+ attr_accessor :cdl_indicator
87
+
88
+ # Deprecated. Whether the CDL holder is non-domiciled in the issuing jurisdiction.
89
+ attr_accessor :cdl_non_domiciled
90
+
91
+ # Whether the CDL holder is non-domiciled in the issuing jurisdiction.
92
+ attr_accessor :cdl_non_domiciled_v2
93
+
94
+ # Text agreed on between the issuing authority and DHS for non-compliant credentials.
95
+ attr_accessor :dhs_compliance_text
96
+
97
+ # Whether the individual has DHS temporary lawful status.
98
+ attr_accessor :dhs_temporary_lawful_status
99
+
100
+ # Attribute mapping from ruby-style variable name to JSON key.
101
+ def self.attribute_map
102
+ {
103
+ :'domestic_driving_privileges' => :'domesticDrivingPrivileges',
104
+ :'name_suffix' => :'nameSuffix',
105
+ :'organ_donor' => :'organDonor',
106
+ :'veteran' => :'veteran',
107
+ :'family_name_truncation' => :'familyNameTruncation',
108
+ :'given_name_truncation' => :'givenNameTruncation',
109
+ :'aka_family_name_v2' => :'akaFamilyNameV2',
110
+ :'aka_given_name_v2' => :'akaGivenNameV2',
111
+ :'aka_suffix' => :'akaSuffix',
112
+ :'weight_range' => :'weightRange',
113
+ :'race_ethnicity' => :'raceEthnicity',
114
+ :'sex' => :'sex',
115
+ :'first_name' => :'firstName',
116
+ :'middle_names' => :'middleNames',
117
+ :'first_name_truncation' => :'firstNameTruncation',
118
+ :'middle_names_truncation' => :'middleNamesTruncation',
119
+ :'edl_credential' => :'edlCredential',
120
+ :'edl_credential_v2' => :'edlCredentialV2',
121
+ :'dhs_compliance' => :'dhsCompliance',
122
+ :'resident_county' => :'residentCounty',
123
+ :'resident_county_v2' => :'residentCountyV2',
124
+ :'hazmat_endorsement_expiration_date' => :'hazmatEndorsementExpirationDate',
125
+ :'cdl_indicator' => :'cdlIndicator',
126
+ :'cdl_non_domiciled' => :'cdlNonDomiciled',
127
+ :'cdl_non_domiciled_v2' => :'cdlNonDomiciledV2',
128
+ :'dhs_compliance_text' => :'dhsComplianceText',
129
+ :'dhs_temporary_lawful_status' => :'dhsTemporaryLawfulStatus'
130
+ }
131
+ end
132
+
133
+ # Returns attribute mapping this model knows about
134
+ def self.acceptable_attribute_map
135
+ attribute_map
136
+ end
137
+
138
+ # Returns all the JSON keys this model knows about
139
+ def self.acceptable_attributes
140
+ acceptable_attribute_map.values
141
+ end
142
+
143
+ # Attribute type mapping.
144
+ def self.openapi_types
145
+ {
146
+ :'domestic_driving_privileges' => :'Array<Iso180135AamvaDomesticDrivingPrivilege>',
147
+ :'name_suffix' => :'String',
148
+ :'organ_donor' => :'Boolean',
149
+ :'veteran' => :'Boolean',
150
+ :'family_name_truncation' => :'String',
151
+ :'given_name_truncation' => :'String',
152
+ :'aka_family_name_v2' => :'String',
153
+ :'aka_given_name_v2' => :'String',
154
+ :'aka_suffix' => :'String',
155
+ :'weight_range' => :'Iso180135AamvaWeightRange',
156
+ :'race_ethnicity' => :'String',
157
+ :'sex' => :'Integer',
158
+ :'first_name' => :'String',
159
+ :'middle_names' => :'String',
160
+ :'first_name_truncation' => :'String',
161
+ :'middle_names_truncation' => :'String',
162
+ :'edl_credential' => :'Integer',
163
+ :'edl_credential_v2' => :'Boolean',
164
+ :'dhs_compliance' => :'Boolean',
165
+ :'resident_county' => :'String',
166
+ :'resident_county_v2' => :'String',
167
+ :'hazmat_endorsement_expiration_date' => :'Date',
168
+ :'cdl_indicator' => :'Boolean',
169
+ :'cdl_non_domiciled' => :'Boolean',
170
+ :'cdl_non_domiciled_v2' => :'Boolean',
171
+ :'dhs_compliance_text' => :'String',
172
+ :'dhs_temporary_lawful_status' => :'Boolean'
173
+ }
174
+ end
175
+
176
+ # List of attributes with nullable: true
177
+ def self.openapi_nullable
178
+ Set.new([
179
+ :'domestic_driving_privileges',
180
+ :'name_suffix',
181
+ :'organ_donor',
182
+ :'veteran',
183
+ :'family_name_truncation',
184
+ :'given_name_truncation',
185
+ :'aka_family_name_v2',
186
+ :'aka_given_name_v2',
187
+ :'aka_suffix',
188
+ :'weight_range',
189
+ :'race_ethnicity',
190
+ :'sex',
191
+ :'first_name',
192
+ :'middle_names',
193
+ :'first_name_truncation',
194
+ :'middle_names_truncation',
195
+ :'edl_credential',
196
+ :'edl_credential_v2',
197
+ :'dhs_compliance',
198
+ :'resident_county',
199
+ :'resident_county_v2',
200
+ :'hazmat_endorsement_expiration_date',
201
+ :'cdl_indicator',
202
+ :'cdl_non_domiciled',
203
+ :'cdl_non_domiciled_v2',
204
+ :'dhs_compliance_text',
205
+ :'dhs_temporary_lawful_status'
206
+ ])
207
+ end
208
+
209
+ # Initializes the object
210
+ # @param [Hash] attributes Model attributes in the form of hash
211
+ def initialize(attributes = {})
212
+ if (!attributes.is_a?(Hash))
213
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::Iso180135AamvaNamespaceOutput` initialize method"
214
+ end
215
+
216
+ # check to see if the attribute exists and convert string to symbol for hash key
217
+ acceptable_attribute_map = self.class.acceptable_attribute_map
218
+ attributes = attributes.each_with_object({}) { |(k, v), h|
219
+ if (!acceptable_attribute_map.key?(k.to_sym))
220
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::Iso180135AamvaNamespaceOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
221
+ end
222
+ h[k.to_sym] = v
223
+ }
224
+
225
+ if attributes.key?(:'domestic_driving_privileges')
226
+ if (value = attributes[:'domestic_driving_privileges']).is_a?(Array)
227
+ self.domestic_driving_privileges = value
228
+ end
229
+ end
230
+
231
+ if attributes.key?(:'name_suffix')
232
+ self.name_suffix = attributes[:'name_suffix']
233
+ end
234
+
235
+ if attributes.key?(:'organ_donor')
236
+ self.organ_donor = attributes[:'organ_donor']
237
+ end
238
+
239
+ if attributes.key?(:'veteran')
240
+ self.veteran = attributes[:'veteran']
241
+ end
242
+
243
+ if attributes.key?(:'family_name_truncation')
244
+ self.family_name_truncation = attributes[:'family_name_truncation']
245
+ end
246
+
247
+ if attributes.key?(:'given_name_truncation')
248
+ self.given_name_truncation = attributes[:'given_name_truncation']
249
+ end
250
+
251
+ if attributes.key?(:'aka_family_name_v2')
252
+ self.aka_family_name_v2 = attributes[:'aka_family_name_v2']
253
+ end
254
+
255
+ if attributes.key?(:'aka_given_name_v2')
256
+ self.aka_given_name_v2 = attributes[:'aka_given_name_v2']
257
+ end
258
+
259
+ if attributes.key?(:'aka_suffix')
260
+ self.aka_suffix = attributes[:'aka_suffix']
261
+ end
262
+
263
+ if attributes.key?(:'weight_range')
264
+ self.weight_range = attributes[:'weight_range']
265
+ end
266
+
267
+ if attributes.key?(:'race_ethnicity')
268
+ self.race_ethnicity = attributes[:'race_ethnicity']
269
+ end
270
+
271
+ if attributes.key?(:'sex')
272
+ self.sex = attributes[:'sex']
273
+ end
274
+
275
+ if attributes.key?(:'first_name')
276
+ self.first_name = attributes[:'first_name']
277
+ end
278
+
279
+ if attributes.key?(:'middle_names')
280
+ self.middle_names = attributes[:'middle_names']
281
+ end
282
+
283
+ if attributes.key?(:'first_name_truncation')
284
+ self.first_name_truncation = attributes[:'first_name_truncation']
285
+ end
286
+
287
+ if attributes.key?(:'middle_names_truncation')
288
+ self.middle_names_truncation = attributes[:'middle_names_truncation']
289
+ end
290
+
291
+ if attributes.key?(:'edl_credential')
292
+ self.edl_credential = attributes[:'edl_credential']
293
+ end
294
+
295
+ if attributes.key?(:'edl_credential_v2')
296
+ self.edl_credential_v2 = attributes[:'edl_credential_v2']
297
+ end
298
+
299
+ if attributes.key?(:'dhs_compliance')
300
+ self.dhs_compliance = attributes[:'dhs_compliance']
301
+ end
302
+
303
+ if attributes.key?(:'resident_county')
304
+ self.resident_county = attributes[:'resident_county']
305
+ end
306
+
307
+ if attributes.key?(:'resident_county_v2')
308
+ self.resident_county_v2 = attributes[:'resident_county_v2']
309
+ end
310
+
311
+ if attributes.key?(:'hazmat_endorsement_expiration_date')
312
+ self.hazmat_endorsement_expiration_date = attributes[:'hazmat_endorsement_expiration_date']
313
+ end
314
+
315
+ if attributes.key?(:'cdl_indicator')
316
+ self.cdl_indicator = attributes[:'cdl_indicator']
317
+ end
318
+
319
+ if attributes.key?(:'cdl_non_domiciled')
320
+ self.cdl_non_domiciled = attributes[:'cdl_non_domiciled']
321
+ end
322
+
323
+ if attributes.key?(:'cdl_non_domiciled_v2')
324
+ self.cdl_non_domiciled_v2 = attributes[:'cdl_non_domiciled_v2']
325
+ end
326
+
327
+ if attributes.key?(:'dhs_compliance_text')
328
+ self.dhs_compliance_text = attributes[:'dhs_compliance_text']
329
+ end
330
+
331
+ if attributes.key?(:'dhs_temporary_lawful_status')
332
+ self.dhs_temporary_lawful_status = attributes[:'dhs_temporary_lawful_status']
333
+ end
334
+ end
335
+
336
+ # Show invalid properties with the reasons. Usually used together with valid?
337
+ # @return Array for valid properties with the reasons
338
+ def list_invalid_properties
339
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
340
+ invalid_properties = Array.new
341
+ invalid_properties
342
+ end
343
+
344
+ # Check to see if the all the properties in the model are valid
345
+ # @return true if the model is valid
346
+ def valid?
347
+ warn '[DEPRECATED] the `valid?` method is obsolete'
348
+ true
349
+ end
350
+
351
+ # Checks equality by comparing each attribute.
352
+ # @param [Object] Object to be compared
353
+ def ==(o)
354
+ return true if self.equal?(o)
355
+ self.class == o.class &&
356
+ domestic_driving_privileges == o.domestic_driving_privileges &&
357
+ name_suffix == o.name_suffix &&
358
+ organ_donor == o.organ_donor &&
359
+ veteran == o.veteran &&
360
+ family_name_truncation == o.family_name_truncation &&
361
+ given_name_truncation == o.given_name_truncation &&
362
+ aka_family_name_v2 == o.aka_family_name_v2 &&
363
+ aka_given_name_v2 == o.aka_given_name_v2 &&
364
+ aka_suffix == o.aka_suffix &&
365
+ weight_range == o.weight_range &&
366
+ race_ethnicity == o.race_ethnicity &&
367
+ sex == o.sex &&
368
+ first_name == o.first_name &&
369
+ middle_names == o.middle_names &&
370
+ first_name_truncation == o.first_name_truncation &&
371
+ middle_names_truncation == o.middle_names_truncation &&
372
+ edl_credential == o.edl_credential &&
373
+ edl_credential_v2 == o.edl_credential_v2 &&
374
+ dhs_compliance == o.dhs_compliance &&
375
+ resident_county == o.resident_county &&
376
+ resident_county_v2 == o.resident_county_v2 &&
377
+ hazmat_endorsement_expiration_date == o.hazmat_endorsement_expiration_date &&
378
+ cdl_indicator == o.cdl_indicator &&
379
+ cdl_non_domiciled == o.cdl_non_domiciled &&
380
+ cdl_non_domiciled_v2 == o.cdl_non_domiciled_v2 &&
381
+ dhs_compliance_text == o.dhs_compliance_text &&
382
+ dhs_temporary_lawful_status == o.dhs_temporary_lawful_status
383
+ end
384
+
385
+ # @see the `==` method
386
+ # @param [Object] Object to be compared
387
+ def eql?(o)
388
+ self == o
389
+ end
390
+
391
+ # Calculates hash code according to all attributes.
392
+ # @return [Integer] Hash code
393
+ def hash
394
+ [domestic_driving_privileges, name_suffix, organ_donor, veteran, family_name_truncation, given_name_truncation, aka_family_name_v2, aka_given_name_v2, aka_suffix, weight_range, race_ethnicity, sex, first_name, middle_names, first_name_truncation, middle_names_truncation, edl_credential, edl_credential_v2, dhs_compliance, resident_county, resident_county_v2, hazmat_endorsement_expiration_date, cdl_indicator, cdl_non_domiciled, cdl_non_domiciled_v2, dhs_compliance_text, dhs_temporary_lawful_status].hash
395
+ end
396
+
397
+ # Builds the object from hash
398
+ # @param [Hash] attributes Model attributes in the form of hash
399
+ # @return [Object] Returns the model itself
400
+ def self.build_from_hash(attributes)
401
+ return nil unless attributes.is_a?(Hash)
402
+ attributes = attributes.transform_keys(&:to_sym)
403
+ transformed_hash = {}
404
+ openapi_types.each_pair do |key, type|
405
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
406
+ transformed_hash["#{key}"] = nil
407
+ elsif type =~ /\AArray<(.*)>/i
408
+ # check to ensure the input is an array given that the attribute
409
+ # is documented as an array but the input is not
410
+ if attributes[attribute_map[key]].is_a?(Array)
411
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
412
+ end
413
+ elsif !attributes[attribute_map[key]].nil?
414
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
415
+ end
416
+ end
417
+ new(transformed_hash)
418
+ end
419
+
420
+ # Returns the object in the form of hash
421
+ # @return [Hash] Returns the object in the form of hash
422
+ def to_hash
423
+ hash = {}
424
+ self.class.attribute_map.each_pair do |attr, param|
425
+ value = self.send(attr)
426
+ if value.nil?
427
+ is_nullable = self.class.openapi_nullable.include?(attr)
428
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
429
+ end
430
+
431
+ hash[param] = _to_hash(value)
432
+ end
433
+ hash
434
+ end
435
+
436
+ end
437
+
438
+ end
@@ -14,22 +14,19 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module TrinsicApi
17
- class NigeriaNinBiometric2Input < ApiModelBase
18
- # The user's Nigerian National ID number (NIN)
19
- attr_accessor :id_number
17
+ # AAMVA approximate weight range, expressed in kilograms.
18
+ class Iso180135AamvaWeightRange < ApiModelBase
19
+ # Minimum weight in the range, in kilograms.
20
+ attr_accessor :min_kilograms
20
21
 
21
- # An array of exactly 8 images required for biometric liveness verification. The first 7 images should be liveness frames captured during the liveness detection process, and the last image (8th) should be a selfie of the user. All images must be in JPEG format and each image must be less than 15MB in size.
22
- attr_accessor :liveness_images
23
-
24
- # Test selfie for test environment (optional, maximum 15MB). Must be JPEG format.
25
- attr_accessor :test_selfie
22
+ # Maximum weight in the range, in kilograms. If null, the maximum weight has no limit.
23
+ attr_accessor :max_kilograms
26
24
 
27
25
  # Attribute mapping from ruby-style variable name to JSON key.
28
26
  def self.attribute_map
29
27
  {
30
- :'id_number' => :'idNumber',
31
- :'liveness_images' => :'livenessImages',
32
- :'test_selfie' => :'testSelfie'
28
+ :'min_kilograms' => :'minKilograms',
29
+ :'max_kilograms' => :'maxKilograms'
33
30
  }
34
31
  end
35
32
 
@@ -46,18 +43,15 @@ module TrinsicApi
46
43
  # Attribute type mapping.
47
44
  def self.openapi_types
48
45
  {
49
- :'id_number' => :'String',
50
- :'liveness_images' => :'Array<String>',
51
- :'test_selfie' => :'String'
46
+ :'min_kilograms' => :'Integer',
47
+ :'max_kilograms' => :'Integer'
52
48
  }
53
49
  end
54
50
 
55
51
  # List of attributes with nullable: true
56
52
  def self.openapi_nullable
57
53
  Set.new([
58
- :'id_number',
59
- :'liveness_images',
60
- :'test_selfie'
54
+ :'max_kilograms'
61
55
  ])
62
56
  end
63
57
 
@@ -65,30 +59,26 @@ module TrinsicApi
65
59
  # @param [Hash] attributes Model attributes in the form of hash
66
60
  def initialize(attributes = {})
67
61
  if (!attributes.is_a?(Hash))
68
- fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::NigeriaNinBiometric2Input` initialize method"
62
+ fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::Iso180135AamvaWeightRange` initialize method"
69
63
  end
70
64
 
71
65
  # check to see if the attribute exists and convert string to symbol for hash key
72
66
  acceptable_attribute_map = self.class.acceptable_attribute_map
73
67
  attributes = attributes.each_with_object({}) { |(k, v), h|
74
68
  if (!acceptable_attribute_map.key?(k.to_sym))
75
- fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::NigeriaNinBiometric2Input`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::Iso180135AamvaWeightRange`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
76
70
  end
77
71
  h[k.to_sym] = v
78
72
  }
79
73
 
80
- if attributes.key?(:'id_number')
81
- self.id_number = attributes[:'id_number']
74
+ if attributes.key?(:'min_kilograms')
75
+ self.min_kilograms = attributes[:'min_kilograms']
76
+ else
77
+ self.min_kilograms = nil
82
78
  end
83
79
 
84
- if attributes.key?(:'liveness_images')
85
- if (value = attributes[:'liveness_images']).is_a?(Array)
86
- self.liveness_images = value
87
- end
88
- end
89
-
90
- if attributes.key?(:'test_selfie')
91
- self.test_selfie = attributes[:'test_selfie']
80
+ if attributes.key?(:'max_kilograms')
81
+ self.max_kilograms = attributes[:'max_kilograms']
92
82
  end
93
83
  end
94
84
 
@@ -97,6 +87,10 @@ module TrinsicApi
97
87
  def list_invalid_properties
98
88
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
99
89
  invalid_properties = Array.new
90
+ if @min_kilograms.nil?
91
+ invalid_properties.push('invalid value for "min_kilograms", min_kilograms cannot be nil.')
92
+ end
93
+
100
94
  invalid_properties
101
95
  end
102
96
 
@@ -104,17 +98,27 @@ module TrinsicApi
104
98
  # @return true if the model is valid
105
99
  def valid?
106
100
  warn '[DEPRECATED] the `valid?` method is obsolete'
101
+ return false if @min_kilograms.nil?
107
102
  true
108
103
  end
109
104
 
105
+ # Custom attribute writer method with validation
106
+ # @param [Object] min_kilograms Value to be assigned
107
+ def min_kilograms=(min_kilograms)
108
+ if min_kilograms.nil?
109
+ fail ArgumentError, 'min_kilograms cannot be nil'
110
+ end
111
+
112
+ @min_kilograms = min_kilograms
113
+ end
114
+
110
115
  # Checks equality by comparing each attribute.
111
116
  # @param [Object] Object to be compared
112
117
  def ==(o)
113
118
  return true if self.equal?(o)
114
119
  self.class == o.class &&
115
- id_number == o.id_number &&
116
- liveness_images == o.liveness_images &&
117
- test_selfie == o.test_selfie
120
+ min_kilograms == o.min_kilograms &&
121
+ max_kilograms == o.max_kilograms
118
122
  end
119
123
 
120
124
  # @see the `==` method
@@ -126,7 +130,7 @@ module TrinsicApi
126
130
  # Calculates hash code according to all attributes.
127
131
  # @return [Integer] Hash code
128
132
  def hash
129
- [id_number, liveness_images, test_selfie].hash
133
+ [min_kilograms, max_kilograms].hash
130
134
  end
131
135
 
132
136
  # Builds the object from hash