trinsic_api 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/docs/AadhaarLanguage.md +1 -1
- data/docs/AgeOverOutput.md +2 -2
- data/docs/AlaskaMobileIdProviderOutput.md +20 -0
- data/docs/AppleWalletDigitalIdBirthDate.md +1 -1
- data/docs/AppleWalletProviderOutput.md +1 -1
- data/docs/AttachmentInfo.md +3 -1
- data/docs/AudkenniProviderOutput.md +3 -3
- data/docs/AustriaHandySignaturProviderOutput.md +2 -2
- data/docs/AustriaValeraEudiSandboxInput.md +18 -0
- data/docs/AustriaValeraEudiSandboxProviderOutput.md +22 -0
- data/docs/BelgiumIdCardProviderOutput.md +4 -4
- data/docs/BoliviaCiProviderOutput.md +4 -4
- data/docs/BrazilBiometricVerificationOutput.md +24 -0
- data/docs/BrazilCnhFacialBiometryOutput.md +1 -1
- data/docs/BrazilCpfCheckInput.md +2 -0
- data/docs/BrazilCpfProviderOutput.md +38 -0
- data/docs/ClearProviderOutput.md +56 -0
- data/docs/ClearProviderOutputAddress.md +28 -0
- data/docs/ClearProviderOutputCheck.md +28 -0
- data/docs/ClearProviderOutputCheckAdditionalDetails.md +18 -0
- data/docs/ClearProviderOutputDocument.md +42 -0
- data/docs/ClearProviderOutputHealthInsurance.md +32 -0
- data/docs/ClearProviderOutputHistoricalAddress.md +36 -0
- data/docs/ClearProviderOutputHistoricalData.md +20 -0
- data/docs/ClearProviderOutputHistoricalName.md +28 -0
- data/docs/ClearProviderOutputLocationInfo.md +30 -0
- data/docs/ClearProviderOutputPartialDate.md +22 -0
- data/docs/ClearProviderOutputSessionInfo.md +28 -0
- data/docs/ClearProviderOutputTraits.md +50 -0
- data/docs/ClearProviderOutputVerifiedEmail.md +22 -0
- data/docs/ClearProviderOutputWatchlistHit.md +24 -0
- data/docs/ClearProviderOutputWatchlistHitDetails.md +48 -0
- data/docs/ClearProviderOutputWatchlistHits.md +20 -0
- data/docs/ClearProviderOutputWatchlistSource.md +22 -0
- data/docs/ColombiaCcProviderOutput.md +10 -10
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +6 -6
- data/docs/CreateHostedProviderSessionResponse.md +1 -1
- data/docs/CzechBankIdAddress.md +3 -3
- data/docs/CzechBankIdCard.md +4 -4
- data/docs/CzechBankIdProviderOutput.md +1 -1
- data/docs/CzechBankIdVerification.md +2 -2
- data/docs/CzechiaMojeIdProviderOutput.md +4 -4
- data/docs/DenmarkAltIdInput.md +18 -0
- data/docs/DenmarkAltIdProviderOutput.md +22 -0
- data/docs/DigilockerAadhaarProviderOutput.md +1 -1
- data/docs/DiiaProviderOutput.md +2 -2
- data/docs/ElSalvadorDuiProviderOutput.md +3 -3
- data/docs/EstoniaIdCardProviderOutput.md +4 -4
- data/docs/EudiAgeVerificationCredential.md +1 -5
- data/docs/EudiReferenceWalletProviderOutput.md +20 -0
- data/docs/EvrotrustAddressComponents.md +48 -0
- data/docs/EvrotrustInput.md +20 -0
- data/docs/EvrotrustProviderOutput.md +78 -0
- data/docs/FinlandIdCardProviderOutput.md +4 -4
- data/docs/FranceIdentiteProviderOutput.md +1 -1
- data/docs/FrejaIndirectProviderOutput.md +4 -4
- data/docs/FrenchNumeriqueProviderOutput.md +10 -4
- data/docs/{FrenchNumeriqueGivenName.md → FrenchNumeriqueSplittedGivenName.md} +2 -4
- data/docs/{FrenchNumeriquePhone.md → FrenchNumeriqueSplittedPhone.md} +2 -4
- data/docs/GermanyEudiSandboxInput.md +18 -0
- data/docs/GermanyEudiSandboxProviderOutput.md +20 -0
- data/docs/GetAttachmentResponse.md +1 -1
- data/docs/GetSessionResultResponse.md +2 -2
- data/docs/GoogleWalletProviderOutput.md +1 -1
- data/docs/GuatemalaCuiLookupInput.md +3 -1
- data/docs/GuatemalaCuiProviderOutput.md +9 -9
- data/docs/IdemiaMobileIdProviderOutput.md +64 -0
- data/docs/IdentityData.md +1 -1
- data/docs/IndiaDigilockerAadhaarMatchDateOfBirthField.md +2 -2
- data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +2 -2
- data/docs/IndiaPanStructuredNumber.md +5 -5
- data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +2 -2
- data/docs/IndonesiaDukcapilMatchFullNameField.md +2 -2
- data/docs/IndonesiaDukcapilMatchNationalIdNumberField.md +2 -2
- data/docs/IndonesiaDukcapilMatchProviderOutput.md +9 -9
- data/docs/IndonesiaNikMatchField.md +2 -2
- data/docs/Iso180132BiometricDataBlockProduct.md +2 -2
- data/docs/Iso180132BiometricGroupTemplate.md +1 -1
- data/docs/Iso180132BiometricTemplate.md +3 -3
- data/docs/Iso180132BiometricTemplateHeader.md +3 -3
- data/docs/Iso180132BiometricValidityPeriod.md +2 -2
- data/docs/Iso180135AamvaDomesticVehicleClass.md +2 -2
- data/docs/Iso180135AamvaDomesticVehicleEndorsement.md +1 -1
- data/docs/Iso180135AamvaDomesticVehicleRestriction.md +1 -1
- data/docs/Iso180135AamvaWeightRange.md +1 -1
- data/docs/Iso180135DrivingPrivilege.md +1 -1
- data/docs/Iso180135DrivingPrivilegeCode.md +1 -1
- data/docs/ItsmeAddressBase.md +22 -0
- data/docs/ItsmeBelgianIdentityCard.md +26 -0
- data/docs/ItsmeBelgianNationalNumber.md +22 -0
- data/docs/ItsmeDirectDevice.md +40 -0
- data/docs/ItsmeIdentityDocument.md +26 -0
- data/docs/ItsmeLoginProviderOutput.md +44 -0
- data/docs/ItsmePlaceOfBirth.md +20 -0
- data/docs/ItsmeProviderAddress.md +26 -0
- data/docs/ItsmeProviderOutput.md +40 -28
- data/docs/KenyaNidLookup2ProviderOutput.md +6 -6
- data/docs/KenyaNidLookup3Input.md +18 -0
- data/docs/KenyaNidLookup3ProviderOutput.md +32 -0
- data/docs/KenyaNidMatch2DateOfBirthField.md +2 -2
- data/docs/KenyaNidMatch2FullNameField.md +2 -2
- data/docs/KenyaNidMatch2NationalIdNumberField.md +2 -2
- data/docs/KenyaNidMatch2ProviderOutput.md +2 -2
- data/docs/KenyaNidMatch2SexField.md +2 -2
- data/docs/KoreaTelcoMatchProviderOutput.md +3 -3
- data/docs/LaWalletProviderOutput.md +17 -17
- data/docs/LatviaEparakstsMobileProviderOutput.md +3 -3
- data/docs/LatviaEparakstsProviderOutput.md +3 -3
- data/docs/LithuaniaIdCardProviderOutput.md +4 -4
- data/docs/MdlOutput.md +4 -4
- data/docs/MdlOutputCertificateData.md +7 -5
- data/docs/MdlOutputFieldData.md +2 -2
- data/docs/MockOutputProviderInput.md +18 -0
- data/docs/MoldovaDriverLicenseCredential.md +42 -0
- data/docs/MoldovaEvoWalletInput.md +18 -0
- data/docs/MoldovaEvoWalletProviderOutput.md +26 -0
- data/docs/MoldovaIdentityCardCredential.md +60 -0
- data/docs/MoldovaVehicleRegistrationCertificateCredential.md +70 -0
- data/docs/NetherlandsEudiSandboxInput.md +18 -0
- data/docs/NetherlandsEudiSandboxProviderOutput.md +20 -0
- data/docs/NetherlandsIdinAddress.md +16 -6
- data/docs/NetherlandsIdinProviderOutput.md +8 -8
- data/docs/NigeriaNinLookup2ProviderOutput.md +5 -5
- data/docs/NigeriaNinLookup3Input.md +18 -0
- data/docs/NigeriaNinLookup3ProviderOutput.md +50 -0
- data/docs/NigeriaNinMatch2DateOfBirthField.md +2 -2
- data/docs/NigeriaNinMatch2FullNameField.md +2 -2
- data/docs/NigeriaNinMatch2NationalIdNumberField.md +2 -2
- data/docs/NigeriaNinMatch2PhoneNumberField.md +2 -2
- data/docs/NigeriaNinMatch2ProviderOutput.md +2 -2
- data/docs/NigeriaNinMatch2SexField.md +2 -2
- data/docs/PanamaCedulaLookupInput.md +1 -3
- data/docs/PanamaCedulaProviderOutput.md +5 -7
- data/docs/PeruDniAddress.md +3 -3
- data/docs/PeruDniProviderOutput.md +8 -8
- data/docs/PhilippinesDigitalNidProviderOutput.md +1 -1
- data/docs/PhilippinesPhilsysMatchProviderOutput.md +2 -2
- data/docs/PhilippinesPhysicalNidProviderOutput.md +1 -1
- data/docs/PolandEdoAppProviderOutput.md +4 -4
- data/docs/PolandMobywatelMatchInput.md +3 -3
- data/docs/PolandMobywatelMatchProviderOutput.md +2 -2
- data/docs/PolandMojeIdProviderOutput.md +3 -3
- data/docs/PortugalIdCardProviderOutput.md +4 -4
- data/docs/Provider.md +0 -4
- data/docs/ProviderInput.md +18 -0
- data/docs/ProviderOutput.md +29 -5
- data/docs/SamsungIdWithClearCredential.md +44 -0
- data/docs/SamsungWalletInput.md +1 -1
- data/docs/SamsungWalletProviderOutput.md +3 -1
- data/docs/SerbiaIdCardProviderOutput.md +4 -4
- data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +2 -2
- data/docs/SouthAfricaNidLookup2ProviderOutput.md +8 -8
- data/docs/SouthAfricaNidMatch2DateOfBirthField.md +2 -2
- data/docs/SouthAfricaNidMatch2FullNameField.md +2 -2
- data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +2 -2
- data/docs/SouthAfricaNidMatch2ProviderOutput.md +2 -2
- data/docs/SouthAfricaNidMatch2SexField.md +2 -2
- data/docs/SpidBillingInformation.md +3 -3
- data/docs/SpidProviderOutput.md +2 -2
- data/docs/SubProviderMetadata.md +4 -2
- data/docs/UgandaNidMatch2DateOfBirthField.md +2 -2
- data/docs/UgandaNidMatch2NationalIdNumberField.md +2 -2
- data/docs/UgandaNidMatch2ProviderOutput.md +3 -3
- data/docs/UgandaNidMatch2SecondaryIdNumberField.md +2 -2
- data/docs/ZimbabweNidLookup2ProviderOutput.md +6 -6
- data/lib/trinsic_api/configuration.rb +4 -0
- data/lib/trinsic_api/models/aadhaar_language.rb +1 -17
- data/lib/trinsic_api/models/age_over_output.rb +2 -34
- data/lib/trinsic_api/models/alaska_mobile_id_provider_output.rb +161 -0
- data/lib/trinsic_api/models/apple_wallet_digital_id_birth_date.rb +1 -17
- data/lib/trinsic_api/models/apple_wallet_provider_output.rb +1 -17
- data/lib/trinsic_api/models/attachment_info.rb +15 -4
- data/lib/trinsic_api/models/audkenni_provider_output.rb +3 -51
- data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +2 -34
- data/lib/trinsic_api/models/austria_valera_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/austria_valera_eudi_sandbox_provider_output.rb +172 -0
- data/lib/trinsic_api/models/belgium_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/bolivia_ci_provider_output.rb +4 -68
- data/lib/trinsic_api/models/brazil_biometric_verification_output.rb +182 -0
- data/lib/trinsic_api/models/brazil_cnh_facial_biometry_output.rb +1 -17
- data/lib/trinsic_api/models/brazil_cpf_check_input.rb +12 -1
- data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +262 -0
- data/lib/trinsic_api/models/clear_provider_output.rb +375 -0
- data/lib/trinsic_api/models/{verimi_address_output.rb → clear_provider_output_address.rb} +48 -48
- data/lib/trinsic_api/models/clear_provider_output_check.rb +206 -0
- data/lib/trinsic_api/models/clear_provider_output_check_additional_details.rb +149 -0
- data/lib/trinsic_api/models/clear_provider_output_document.rb +281 -0
- data/lib/trinsic_api/models/clear_provider_output_health_insurance.rb +226 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_address.rb +255 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_data.rb +164 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_name.rb +204 -0
- data/lib/trinsic_api/models/clear_provider_output_location_info.rb +215 -0
- data/lib/trinsic_api/models/clear_provider_output_partial_date.rb +171 -0
- data/lib/trinsic_api/models/clear_provider_output_session_info.rb +204 -0
- data/lib/trinsic_api/models/clear_provider_output_traits.rb +325 -0
- data/lib/trinsic_api/models/clear_provider_output_verified_email.rb +171 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hit.rb +186 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hit_details.rb +346 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hits.rb +162 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_source.rb +171 -0
- data/lib/trinsic_api/models/colombia_cc_provider_output.rb +10 -170
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +1 -1
- data/lib/trinsic_api/models/czech_bank_id_address.rb +3 -51
- data/lib/trinsic_api/models/czech_bank_id_card.rb +4 -68
- data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +1 -17
- data/lib/trinsic_api/models/czech_bank_id_verification.rb +2 -34
- data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +4 -68
- data/lib/trinsic_api/models/denmark_alt_id_input.rb +149 -0
- data/lib/trinsic_api/models/denmark_alt_id_provider_output.rb +172 -0
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +1 -17
- data/lib/trinsic_api/models/diia_provider_output.rb +2 -34
- data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +3 -51
- data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/eudi_age_verification_credential.rb +6 -28
- data/lib/trinsic_api/models/eudi_reference_wallet_provider_output.rb +161 -0
- data/lib/trinsic_api/models/evrotrust_address_components.rb +314 -0
- data/lib/trinsic_api/models/evrotrust_input.rb +160 -0
- data/lib/trinsic_api/models/evrotrust_provider_output.rb +484 -0
- data/lib/trinsic_api/models/finland_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/france_identite_provider_output.rb +1 -17
- data/lib/trinsic_api/models/freja_indirect_provider_output.rb +4 -68
- data/lib/trinsic_api/models/french_numerique_provider_output.rb +38 -5
- data/lib/trinsic_api/models/{french_numerique_given_name.rb → french_numerique_splitted_given_name.rb} +5 -16
- data/lib/trinsic_api/models/{french_numerique_phone.rb → french_numerique_splitted_phone.rb} +5 -16
- data/lib/trinsic_api/models/germany_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/germany_eudi_sandbox_provider_output.rb +161 -0
- data/lib/trinsic_api/models/get_attachment_response.rb +1 -1
- data/lib/trinsic_api/models/get_session_result_response.rb +2 -0
- data/lib/trinsic_api/models/google_wallet_id_pass_credential.rb +1 -1
- data/lib/trinsic_api/models/google_wallet_provider_output.rb +1 -17
- data/lib/trinsic_api/models/guatemala_cui_lookup_input.rb +16 -5
- data/lib/trinsic_api/models/guatemala_cui_provider_output.rb +9 -153
- data/lib/trinsic_api/models/idemia_mobile_id_provider_output.rb +403 -0
- data/lib/trinsic_api/models/identity_data.rb +17 -1
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/india_pan_structured_number.rb +5 -85
- data/lib/trinsic_api/models/indonesia_dukcapil_match_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/indonesia_dukcapil_match_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/indonesia_dukcapil_match_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +9 -153
- data/lib/trinsic_api/models/indonesia_nik_match_field.rb +2 -34
- data/lib/trinsic_api/models/iso180132_biometric_data_block_product.rb +2 -34
- data/lib/trinsic_api/models/iso180132_biometric_group_template.rb +1 -17
- data/lib/trinsic_api/models/iso180132_biometric_template.rb +3 -51
- data/lib/trinsic_api/models/iso180132_biometric_template_header.rb +3 -51
- data/lib/trinsic_api/models/iso180132_biometric_validity_period.rb +2 -34
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_class.rb +2 -34
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_endorsement.rb +1 -17
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_restriction.rb +1 -17
- data/lib/trinsic_api/models/iso180135_aamva_weight_range.rb +1 -17
- data/lib/trinsic_api/models/iso180135_driving_privilege.rb +2 -18
- data/lib/trinsic_api/models/iso180135_driving_privilege_code.rb +1 -17
- data/lib/trinsic_api/models/itsme_address_base.rb +171 -0
- data/lib/trinsic_api/models/itsme_belgian_identity_card.rb +193 -0
- data/lib/trinsic_api/models/itsme_belgian_national_number.rb +171 -0
- data/lib/trinsic_api/models/itsme_direct_device.rb +270 -0
- data/lib/trinsic_api/models/itsme_identity_document.rb +193 -0
- data/lib/trinsic_api/models/itsme_login_provider_output.rb +293 -0
- data/lib/trinsic_api/models/itsme_place_of_birth.rb +160 -0
- data/lib/trinsic_api/models/{idemia_preview_provider_address.rb → itsme_provider_address.rb} +30 -56
- data/lib/trinsic_api/models/itsme_provider_output.rb +162 -144
- data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/models/kenya_nid_lookup3_input.rb +194 -0
- data/lib/trinsic_api/models/kenya_nid_lookup3_provider_output.rb +227 -0
- data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +2 -34
- data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +2 -34
- data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +6 -54
- data/lib/trinsic_api/models/la_wallet_provider_output.rb +17 -289
- data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +3 -51
- data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +3 -51
- data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/mdl_output.rb +7 -71
- data/lib/trinsic_api/models/mdl_output_certificate_data.rb +18 -87
- data/lib/trinsic_api/models/mdl_output_field_data.rb +2 -34
- data/lib/trinsic_api/models/mock_output_provider_input.rb +150 -0
- data/lib/trinsic_api/models/moldova_driver_license_credential.rb +284 -0
- data/lib/trinsic_api/models/moldova_evo_wallet_input.rb +149 -0
- data/lib/trinsic_api/models/moldova_evo_wallet_provider_output.rb +194 -0
- data/lib/trinsic_api/models/moldova_identity_card_credential.rb +381 -0
- data/lib/trinsic_api/models/moldova_vehicle_registration_certificate_credential.rb +438 -0
- data/lib/trinsic_api/models/netherlands_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/netherlands_eudi_sandbox_provider_output.rb +161 -0
- data/lib/trinsic_api/models/netherlands_idin_address.rb +68 -93
- data/lib/trinsic_api/models/netherlands_idin_provider_output.rb +9 -137
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +4 -52
- data/lib/trinsic_api/models/nigeria_nin_lookup3_input.rb +149 -0
- data/lib/trinsic_api/models/nigeria_nin_lookup3_provider_output.rb +326 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_sex_field.rb +2 -34
- data/lib/trinsic_api/models/panama_cedula_lookup_input.rb +5 -16
- data/lib/trinsic_api/models/panama_cedula_provider_output.rb +6 -97
- data/lib/trinsic_api/models/peru_dni_address.rb +3 -51
- data/lib/trinsic_api/models/peru_dni_provider_output.rb +8 -136
- data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +1 -17
- data/lib/trinsic_api/models/philippines_philsys_match_provider_output.rb +2 -34
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +1 -17
- data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +4 -68
- data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +3 -3
- data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +1 -1
- data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +3 -51
- data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/provider.rb +1 -57
- data/lib/trinsic_api/models/provider_input.rb +97 -1
- data/lib/trinsic_api/models/provider_output.rb +156 -24
- data/lib/trinsic_api/models/raw18013_document_request.rb +9 -0
- data/lib/trinsic_api/models/samsung_id_with_clear_credential.rb +295 -0
- data/lib/trinsic_api/models/samsung_wallet_input.rb +1 -1
- data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +13 -18
- data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +10 -138
- data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +2 -34
- data/lib/trinsic_api/models/spid_billing_information.rb +3 -51
- data/lib/trinsic_api/models/spid_provider_output.rb +2 -34
- data/lib/trinsic_api/models/sub_provider_metadata.rb +16 -5
- data/lib/trinsic_api/models/uganda_nid_match2_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/uganda_nid_match2_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/uganda_nid_match2_provider_output.rb +3 -51
- data/lib/trinsic_api/models/uganda_nid_match2_secondary_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +55 -6
- data/spec/models/alaska_mobile_id_provider_output_spec.rb +42 -0
- data/spec/models/attachment_info_spec.rb +6 -0
- data/spec/models/austria_valera_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/austria_valera_eudi_sandbox_provider_output_spec.rb +48 -0
- data/spec/models/brazil_biometric_verification_output_spec.rb +54 -0
- data/spec/models/brazil_cpf_check_input_spec.rb +6 -0
- data/spec/models/brazil_cpf_provider_output_spec.rb +96 -0
- data/spec/models/{verimi_address_output_spec.rb → clear_provider_output_address_spec.rb} +12 -12
- data/spec/models/clear_provider_output_check_additional_details_spec.rb +36 -0
- data/spec/models/clear_provider_output_check_spec.rb +66 -0
- data/spec/models/clear_provider_output_document_spec.rb +108 -0
- data/spec/models/clear_provider_output_health_insurance_spec.rb +78 -0
- data/spec/models/clear_provider_output_historical_address_spec.rb +90 -0
- data/spec/models/clear_provider_output_historical_data_spec.rb +42 -0
- data/spec/models/clear_provider_output_historical_name_spec.rb +66 -0
- data/spec/models/clear_provider_output_location_info_spec.rb +72 -0
- data/spec/models/clear_provider_output_partial_date_spec.rb +48 -0
- data/spec/models/clear_provider_output_session_info_spec.rb +66 -0
- data/spec/models/clear_provider_output_spec.rb +150 -0
- data/spec/models/clear_provider_output_traits_spec.rb +132 -0
- data/spec/models/clear_provider_output_verified_email_spec.rb +48 -0
- data/spec/models/clear_provider_output_watchlist_hit_details_spec.rb +126 -0
- data/spec/models/clear_provider_output_watchlist_hit_spec.rb +54 -0
- data/spec/models/clear_provider_output_watchlist_hits_spec.rb +42 -0
- data/spec/models/clear_provider_output_watchlist_source_spec.rb +48 -0
- data/spec/models/denmark_alt_id_input_spec.rb +36 -0
- data/spec/models/denmark_alt_id_provider_output_spec.rb +48 -0
- data/spec/models/eudi_age_verification_credential_spec.rb +0 -12
- data/spec/models/eudi_reference_wallet_provider_output_spec.rb +42 -0
- data/spec/models/evrotrust_address_components_spec.rb +126 -0
- data/spec/models/evrotrust_input_spec.rb +42 -0
- data/spec/models/{idemia_preview_provider_output_spec.rb → evrotrust_provider_output_spec.rb} +41 -35
- data/spec/models/french_numerique_provider_output_spec.rb +18 -0
- data/spec/models/{french_numerique_given_name_spec.rb → french_numerique_splitted_given_name_spec.rb} +6 -12
- data/spec/models/{french_numerique_phone_spec.rb → french_numerique_splitted_phone_spec.rb} +6 -12
- data/spec/models/germany_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/germany_eudi_sandbox_provider_output_spec.rb +42 -0
- data/spec/models/guatemala_cui_lookup_input_spec.rb +6 -0
- data/spec/models/{verimi_provider_output_spec.rb → idemia_mobile_id_provider_output_spec.rb} +29 -41
- data/spec/models/itsme_address_base_spec.rb +48 -0
- data/spec/models/itsme_belgian_identity_card_spec.rb +60 -0
- data/spec/models/itsme_belgian_national_number_spec.rb +48 -0
- data/spec/models/itsme_direct_device_spec.rb +102 -0
- data/spec/models/itsme_identity_document_spec.rb +60 -0
- data/spec/models/itsme_login_provider_output_spec.rb +114 -0
- data/spec/models/itsme_place_of_birth_spec.rb +42 -0
- data/spec/models/itsme_provider_address_spec.rb +60 -0
- data/spec/models/itsme_provider_output_spec.rb +49 -13
- data/spec/models/kenya_nid_lookup3_input_spec.rb +36 -0
- data/spec/models/{idemia_preview_provider_address_spec.rb → kenya_nid_lookup3_provider_output_spec.rb} +14 -14
- data/spec/models/mdl_output_certificate_data_spec.rb +6 -0
- data/spec/models/mock_output_provider_input_spec.rb +36 -0
- data/spec/models/moldova_driver_license_credential_spec.rb +108 -0
- data/spec/models/moldova_evo_wallet_input_spec.rb +36 -0
- data/spec/models/moldova_evo_wallet_provider_output_spec.rb +60 -0
- data/spec/models/moldova_identity_card_credential_spec.rb +162 -0
- data/spec/models/moldova_vehicle_registration_certificate_credential_spec.rb +192 -0
- data/spec/models/netherlands_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/netherlands_eudi_sandbox_provider_output_spec.rb +42 -0
- data/spec/models/netherlands_idin_address_spec.rb +30 -0
- data/spec/models/nigeria_nin_lookup3_input_spec.rb +36 -0
- data/spec/models/nigeria_nin_lookup3_provider_output_spec.rb +132 -0
- data/spec/models/panama_cedula_lookup_input_spec.rb +0 -6
- data/spec/models/panama_cedula_provider_output_spec.rb +0 -6
- data/spec/models/provider_input_spec.rb +54 -0
- data/spec/models/provider_output_spec.rb +78 -6
- data/spec/models/provider_spec.rb +0 -12
- data/spec/models/samsung_id_with_clear_credential_spec.rb +114 -0
- data/spec/models/samsung_wallet_provider_output_spec.rb +6 -0
- data/spec/models/sub_provider_metadata_spec.rb +6 -0
- metadata +462 -266
- data/docs/IdemiaPreviewProviderAddress.md +0 -32
- data/docs/IdemiaPreviewProviderOutput.md +0 -76
- data/docs/VerimiAddressOutput.md +0 -28
- data/docs/VerimiProviderOutput.md +0 -68
- data/lib/trinsic_api/models/idemia_preview_provider_output.rb +0 -469
- data/lib/trinsic_api/models/verimi_provider_output.rb +0 -425
|
@@ -0,0 +1,194 @@
|
|
|
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 `moldova-evo-wallet` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class MoldovaEvoWalletProviderOutput < ApiModelBase
|
|
19
|
+
# A Moldovan Identity Card credential, retrieved from the individual's wallet.
|
|
20
|
+
attr_accessor :identity_card
|
|
21
|
+
|
|
22
|
+
# A Moldovan Driver License credential, retrieved from the individual's wallet.
|
|
23
|
+
attr_accessor :driver_license
|
|
24
|
+
|
|
25
|
+
# An EUDI Person Identification Data (PID) credential, retrieved from the individual's wallet. NOTE: Although this credential aligns with the EUDI PID specification, Moldova is not an EU member state.
|
|
26
|
+
attr_accessor :pid
|
|
27
|
+
|
|
28
|
+
# A Moldovan Vehicle Registration Certificate credential, retrieved from the individual's wallet.
|
|
29
|
+
attr_accessor :vehicle_registration_certificate
|
|
30
|
+
|
|
31
|
+
# The raw output of the 18013-7 exchange performed through EVO Wallet.
|
|
32
|
+
attr_accessor :raw18013_output
|
|
33
|
+
|
|
34
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
35
|
+
def self.attribute_map
|
|
36
|
+
{
|
|
37
|
+
:'identity_card' => :'identityCard',
|
|
38
|
+
:'driver_license' => :'driverLicense',
|
|
39
|
+
:'pid' => :'pid',
|
|
40
|
+
:'vehicle_registration_certificate' => :'vehicleRegistrationCertificate',
|
|
41
|
+
:'raw18013_output' => :'raw18013Output'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Returns attribute mapping this model knows about
|
|
46
|
+
def self.acceptable_attribute_map
|
|
47
|
+
attribute_map
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Returns all the JSON keys this model knows about
|
|
51
|
+
def self.acceptable_attributes
|
|
52
|
+
acceptable_attribute_map.values
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Attribute type mapping.
|
|
56
|
+
def self.openapi_types
|
|
57
|
+
{
|
|
58
|
+
:'identity_card' => :'MoldovaIdentityCardCredential',
|
|
59
|
+
:'driver_license' => :'MoldovaDriverLicenseCredential',
|
|
60
|
+
:'pid' => :'EudiPidCredential',
|
|
61
|
+
:'vehicle_registration_certificate' => :'MoldovaVehicleRegistrationCertificateCredential',
|
|
62
|
+
:'raw18013_output' => :'MdlOutput'
|
|
63
|
+
}
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# List of attributes with nullable: true
|
|
67
|
+
def self.openapi_nullable
|
|
68
|
+
Set.new([
|
|
69
|
+
:'identity_card',
|
|
70
|
+
:'driver_license',
|
|
71
|
+
:'pid',
|
|
72
|
+
:'vehicle_registration_certificate',
|
|
73
|
+
:'raw18013_output'
|
|
74
|
+
])
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# Initializes the object
|
|
78
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
79
|
+
def initialize(attributes = {})
|
|
80
|
+
if (!attributes.is_a?(Hash))
|
|
81
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::MoldovaEvoWalletProviderOutput` initialize method"
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
85
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
86
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
87
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
88
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::MoldovaEvoWalletProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
89
|
+
end
|
|
90
|
+
h[k.to_sym] = v
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if attributes.key?(:'identity_card')
|
|
94
|
+
self.identity_card = attributes[:'identity_card']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'driver_license')
|
|
98
|
+
self.driver_license = attributes[:'driver_license']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
if attributes.key?(:'pid')
|
|
102
|
+
self.pid = attributes[:'pid']
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
if attributes.key?(:'vehicle_registration_certificate')
|
|
106
|
+
self.vehicle_registration_certificate = attributes[:'vehicle_registration_certificate']
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'raw18013_output')
|
|
110
|
+
self.raw18013_output = attributes[:'raw18013_output']
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
115
|
+
# @return Array for valid properties with the reasons
|
|
116
|
+
def list_invalid_properties
|
|
117
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
118
|
+
invalid_properties = Array.new
|
|
119
|
+
invalid_properties
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# Check to see if the all the properties in the model are valid
|
|
123
|
+
# @return true if the model is valid
|
|
124
|
+
def valid?
|
|
125
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
126
|
+
true
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Checks equality by comparing each attribute.
|
|
130
|
+
# @param [Object] Object to be compared
|
|
131
|
+
def ==(o)
|
|
132
|
+
return true if self.equal?(o)
|
|
133
|
+
self.class == o.class &&
|
|
134
|
+
identity_card == o.identity_card &&
|
|
135
|
+
driver_license == o.driver_license &&
|
|
136
|
+
pid == o.pid &&
|
|
137
|
+
vehicle_registration_certificate == o.vehicle_registration_certificate &&
|
|
138
|
+
raw18013_output == o.raw18013_output
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# @see the `==` method
|
|
142
|
+
# @param [Object] Object to be compared
|
|
143
|
+
def eql?(o)
|
|
144
|
+
self == o
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Calculates hash code according to all attributes.
|
|
148
|
+
# @return [Integer] Hash code
|
|
149
|
+
def hash
|
|
150
|
+
[identity_card, driver_license, pid, vehicle_registration_certificate, raw18013_output].hash
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# Builds the object from hash
|
|
154
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
155
|
+
# @return [Object] Returns the model itself
|
|
156
|
+
def self.build_from_hash(attributes)
|
|
157
|
+
return nil unless attributes.is_a?(Hash)
|
|
158
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
159
|
+
transformed_hash = {}
|
|
160
|
+
openapi_types.each_pair do |key, type|
|
|
161
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
162
|
+
transformed_hash["#{key}"] = nil
|
|
163
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
164
|
+
# check to ensure the input is an array given that the attribute
|
|
165
|
+
# is documented as an array but the input is not
|
|
166
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
167
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
168
|
+
end
|
|
169
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
170
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
171
|
+
end
|
|
172
|
+
end
|
|
173
|
+
new(transformed_hash)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Returns the object in the form of hash
|
|
177
|
+
# @return [Hash] Returns the object in the form of hash
|
|
178
|
+
def to_hash
|
|
179
|
+
hash = {}
|
|
180
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
181
|
+
value = self.send(attr)
|
|
182
|
+
if value.nil?
|
|
183
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
184
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
hash[param] = _to_hash(value)
|
|
188
|
+
end
|
|
189
|
+
hash
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
end
|
|
@@ -0,0 +1,381 @@
|
|
|
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 Moldovan Identity Card credential, with document type `md.gov.wallet.pid.1`, retrieved from the Moldovan EVO wallet. This credential is derived from the individual's Moldovan National Identity Card.
|
|
18
|
+
class MoldovaIdentityCardCredential < ApiModelBase
|
|
19
|
+
# The individual's IDNP (Numărul de Identificare Personal), the Moldovan state personal identification number. This is a 13-digit number which uniquely identifies all natural persons in the Republic of Moldova. It has the format `2YYYOOOSSSSSX`, where: - `2` is the literal number `2` to indicate that the identifier belongs to a natural person - `YYY` is the last 3 digits of the year in which the identifier was issued - `OOO` is the code of the registrar office which issued the identifier - `SSSSS` is the sequential birth number for that year - `X` is a check digit Note that the year encoded in the identifier is not necessarily the same as the year of birth of the individual.
|
|
20
|
+
attr_accessor :idnp
|
|
21
|
+
|
|
22
|
+
# The individual's given name(s), as recorded on their Moldovan identity card.
|
|
23
|
+
attr_accessor :given_name
|
|
24
|
+
|
|
25
|
+
# The individual's family name (surname), as recorded on their Moldovan identity card.
|
|
26
|
+
attr_accessor :family_name
|
|
27
|
+
|
|
28
|
+
# The individual's sex, as an ISO/IEC 5218 numeric code. Possible values: - 0: Not known - 1: Male - 2: Female - 9: Not applicable
|
|
29
|
+
attr_accessor :sex
|
|
30
|
+
|
|
31
|
+
# The individual's nationality, as an ISO 3166-1 alpha-2 country code. Moldovan nationals are `MD`.
|
|
32
|
+
attr_accessor :nationality
|
|
33
|
+
|
|
34
|
+
# The date of birth of the individual.
|
|
35
|
+
attr_accessor :date_of_birth
|
|
36
|
+
|
|
37
|
+
# Whether the individual is at least 18 years of age at the time of issuance of the digital credential.
|
|
38
|
+
attr_accessor :age_over18
|
|
39
|
+
|
|
40
|
+
# Whether the individual is at least 21 years of age at the time of issuance of the digital credential.
|
|
41
|
+
attr_accessor :age_over21
|
|
42
|
+
|
|
43
|
+
# The individual's full registered residential address as a single formatted string.
|
|
44
|
+
attr_accessor :resident_address
|
|
45
|
+
|
|
46
|
+
# The country of the individual's registered residence, as an ISO 3166-1 alpha-2 country code.
|
|
47
|
+
attr_accessor :resident_country
|
|
48
|
+
|
|
49
|
+
# The region of the individual's registered residence.
|
|
50
|
+
attr_accessor :resident_region
|
|
51
|
+
|
|
52
|
+
# The locality (municipality, city, town, or village) of the individual's registered residence.
|
|
53
|
+
attr_accessor :resident_city
|
|
54
|
+
|
|
55
|
+
# The street name of the individual's registered residence.
|
|
56
|
+
attr_accessor :resident_street
|
|
57
|
+
|
|
58
|
+
# The house or building number of the individual's registered residence.
|
|
59
|
+
attr_accessor :resident_house_number
|
|
60
|
+
|
|
61
|
+
# The building block (bloc) of the individual's registered residence, where applicable.
|
|
62
|
+
attr_accessor :resident_block
|
|
63
|
+
|
|
64
|
+
# The flat (apartment) number of the individual's registered residence, where applicable.
|
|
65
|
+
attr_accessor :resident_flat
|
|
66
|
+
|
|
67
|
+
# The date the physical identity card, used to create this digital credential, was issued.
|
|
68
|
+
attr_accessor :issue_date
|
|
69
|
+
|
|
70
|
+
# The date the physical identity card, used to create this digital credential, expires.
|
|
71
|
+
attr_accessor :expiry_date
|
|
72
|
+
|
|
73
|
+
# The name of the authority that issued the identity card.
|
|
74
|
+
attr_accessor :issuing_authority
|
|
75
|
+
|
|
76
|
+
# The document type TODO: Get example values
|
|
77
|
+
attr_accessor :document_type
|
|
78
|
+
|
|
79
|
+
# The series of the underlying physical identity card. This is the prefix to the full Moldovan identity card number, which is in the format `SNNN...`, where: - `S` is a one-letter document series - `NNN...` is a document number (typically 8 digits)
|
|
80
|
+
attr_accessor :document_series
|
|
81
|
+
|
|
82
|
+
# The number of the underlying physical identity card, excluding the series. This is the suffix to the full Moldovan identity card number, which is in the format `SNNN...`, where: - `S` is a one-letter document series - `NNN...` is a document number (typically 8 digits)
|
|
83
|
+
attr_accessor :document_number
|
|
84
|
+
|
|
85
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
86
|
+
def self.attribute_map
|
|
87
|
+
{
|
|
88
|
+
:'idnp' => :'idnp',
|
|
89
|
+
:'given_name' => :'givenName',
|
|
90
|
+
:'family_name' => :'familyName',
|
|
91
|
+
:'sex' => :'sex',
|
|
92
|
+
:'nationality' => :'nationality',
|
|
93
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
94
|
+
:'age_over18' => :'ageOver18',
|
|
95
|
+
:'age_over21' => :'ageOver21',
|
|
96
|
+
:'resident_address' => :'residentAddress',
|
|
97
|
+
:'resident_country' => :'residentCountry',
|
|
98
|
+
:'resident_region' => :'residentRegion',
|
|
99
|
+
:'resident_city' => :'residentCity',
|
|
100
|
+
:'resident_street' => :'residentStreet',
|
|
101
|
+
:'resident_house_number' => :'residentHouseNumber',
|
|
102
|
+
:'resident_block' => :'residentBlock',
|
|
103
|
+
:'resident_flat' => :'residentFlat',
|
|
104
|
+
:'issue_date' => :'issueDate',
|
|
105
|
+
:'expiry_date' => :'expiryDate',
|
|
106
|
+
:'issuing_authority' => :'issuingAuthority',
|
|
107
|
+
:'document_type' => :'documentType',
|
|
108
|
+
:'document_series' => :'documentSeries',
|
|
109
|
+
:'document_number' => :'documentNumber'
|
|
110
|
+
}
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Returns attribute mapping this model knows about
|
|
114
|
+
def self.acceptable_attribute_map
|
|
115
|
+
attribute_map
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Returns all the JSON keys this model knows about
|
|
119
|
+
def self.acceptable_attributes
|
|
120
|
+
acceptable_attribute_map.values
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Attribute type mapping.
|
|
124
|
+
def self.openapi_types
|
|
125
|
+
{
|
|
126
|
+
:'idnp' => :'String',
|
|
127
|
+
:'given_name' => :'String',
|
|
128
|
+
:'family_name' => :'String',
|
|
129
|
+
:'sex' => :'Integer',
|
|
130
|
+
:'nationality' => :'String',
|
|
131
|
+
:'date_of_birth' => :'Date',
|
|
132
|
+
:'age_over18' => :'Boolean',
|
|
133
|
+
:'age_over21' => :'Boolean',
|
|
134
|
+
:'resident_address' => :'String',
|
|
135
|
+
:'resident_country' => :'String',
|
|
136
|
+
:'resident_region' => :'String',
|
|
137
|
+
:'resident_city' => :'String',
|
|
138
|
+
:'resident_street' => :'String',
|
|
139
|
+
:'resident_house_number' => :'String',
|
|
140
|
+
:'resident_block' => :'String',
|
|
141
|
+
:'resident_flat' => :'String',
|
|
142
|
+
:'issue_date' => :'Date',
|
|
143
|
+
:'expiry_date' => :'Date',
|
|
144
|
+
:'issuing_authority' => :'String',
|
|
145
|
+
:'document_type' => :'String',
|
|
146
|
+
:'document_series' => :'String',
|
|
147
|
+
:'document_number' => :'String'
|
|
148
|
+
}
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# List of attributes with nullable: true
|
|
152
|
+
def self.openapi_nullable
|
|
153
|
+
Set.new([
|
|
154
|
+
:'idnp',
|
|
155
|
+
:'given_name',
|
|
156
|
+
:'family_name',
|
|
157
|
+
:'sex',
|
|
158
|
+
:'nationality',
|
|
159
|
+
:'date_of_birth',
|
|
160
|
+
:'age_over18',
|
|
161
|
+
:'age_over21',
|
|
162
|
+
:'resident_address',
|
|
163
|
+
:'resident_country',
|
|
164
|
+
:'resident_region',
|
|
165
|
+
:'resident_city',
|
|
166
|
+
:'resident_street',
|
|
167
|
+
:'resident_house_number',
|
|
168
|
+
:'resident_block',
|
|
169
|
+
:'resident_flat',
|
|
170
|
+
:'issue_date',
|
|
171
|
+
:'expiry_date',
|
|
172
|
+
:'issuing_authority',
|
|
173
|
+
:'document_type',
|
|
174
|
+
:'document_series',
|
|
175
|
+
:'document_number'
|
|
176
|
+
])
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Initializes the object
|
|
180
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
181
|
+
def initialize(attributes = {})
|
|
182
|
+
if (!attributes.is_a?(Hash))
|
|
183
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::MoldovaIdentityCardCredential` initialize method"
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
187
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
188
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
189
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
190
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::MoldovaIdentityCardCredential`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
191
|
+
end
|
|
192
|
+
h[k.to_sym] = v
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
if attributes.key?(:'idnp')
|
|
196
|
+
self.idnp = attributes[:'idnp']
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
if attributes.key?(:'given_name')
|
|
200
|
+
self.given_name = attributes[:'given_name']
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
if attributes.key?(:'family_name')
|
|
204
|
+
self.family_name = attributes[:'family_name']
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
if attributes.key?(:'sex')
|
|
208
|
+
self.sex = attributes[:'sex']
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if attributes.key?(:'nationality')
|
|
212
|
+
self.nationality = attributes[:'nationality']
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
if attributes.key?(:'date_of_birth')
|
|
216
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
if attributes.key?(:'age_over18')
|
|
220
|
+
self.age_over18 = attributes[:'age_over18']
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
if attributes.key?(:'age_over21')
|
|
224
|
+
self.age_over21 = attributes[:'age_over21']
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'resident_address')
|
|
228
|
+
self.resident_address = attributes[:'resident_address']
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
if attributes.key?(:'resident_country')
|
|
232
|
+
self.resident_country = attributes[:'resident_country']
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
if attributes.key?(:'resident_region')
|
|
236
|
+
self.resident_region = attributes[:'resident_region']
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
if attributes.key?(:'resident_city')
|
|
240
|
+
self.resident_city = attributes[:'resident_city']
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'resident_street')
|
|
244
|
+
self.resident_street = attributes[:'resident_street']
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
if attributes.key?(:'resident_house_number')
|
|
248
|
+
self.resident_house_number = attributes[:'resident_house_number']
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
if attributes.key?(:'resident_block')
|
|
252
|
+
self.resident_block = attributes[:'resident_block']
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
if attributes.key?(:'resident_flat')
|
|
256
|
+
self.resident_flat = attributes[:'resident_flat']
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
if attributes.key?(:'issue_date')
|
|
260
|
+
self.issue_date = attributes[:'issue_date']
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
if attributes.key?(:'expiry_date')
|
|
264
|
+
self.expiry_date = attributes[:'expiry_date']
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
if attributes.key?(:'issuing_authority')
|
|
268
|
+
self.issuing_authority = attributes[:'issuing_authority']
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
if attributes.key?(:'document_type')
|
|
272
|
+
self.document_type = attributes[:'document_type']
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
if attributes.key?(:'document_series')
|
|
276
|
+
self.document_series = attributes[:'document_series']
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
if attributes.key?(:'document_number')
|
|
280
|
+
self.document_number = attributes[:'document_number']
|
|
281
|
+
end
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
285
|
+
# @return Array for valid properties with the reasons
|
|
286
|
+
def list_invalid_properties
|
|
287
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
288
|
+
invalid_properties = Array.new
|
|
289
|
+
invalid_properties
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# Check to see if the all the properties in the model are valid
|
|
293
|
+
# @return true if the model is valid
|
|
294
|
+
def valid?
|
|
295
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
296
|
+
true
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# Checks equality by comparing each attribute.
|
|
300
|
+
# @param [Object] Object to be compared
|
|
301
|
+
def ==(o)
|
|
302
|
+
return true if self.equal?(o)
|
|
303
|
+
self.class == o.class &&
|
|
304
|
+
idnp == o.idnp &&
|
|
305
|
+
given_name == o.given_name &&
|
|
306
|
+
family_name == o.family_name &&
|
|
307
|
+
sex == o.sex &&
|
|
308
|
+
nationality == o.nationality &&
|
|
309
|
+
date_of_birth == o.date_of_birth &&
|
|
310
|
+
age_over18 == o.age_over18 &&
|
|
311
|
+
age_over21 == o.age_over21 &&
|
|
312
|
+
resident_address == o.resident_address &&
|
|
313
|
+
resident_country == o.resident_country &&
|
|
314
|
+
resident_region == o.resident_region &&
|
|
315
|
+
resident_city == o.resident_city &&
|
|
316
|
+
resident_street == o.resident_street &&
|
|
317
|
+
resident_house_number == o.resident_house_number &&
|
|
318
|
+
resident_block == o.resident_block &&
|
|
319
|
+
resident_flat == o.resident_flat &&
|
|
320
|
+
issue_date == o.issue_date &&
|
|
321
|
+
expiry_date == o.expiry_date &&
|
|
322
|
+
issuing_authority == o.issuing_authority &&
|
|
323
|
+
document_type == o.document_type &&
|
|
324
|
+
document_series == o.document_series &&
|
|
325
|
+
document_number == o.document_number
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
# @see the `==` method
|
|
329
|
+
# @param [Object] Object to be compared
|
|
330
|
+
def eql?(o)
|
|
331
|
+
self == o
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# Calculates hash code according to all attributes.
|
|
335
|
+
# @return [Integer] Hash code
|
|
336
|
+
def hash
|
|
337
|
+
[idnp, given_name, family_name, sex, nationality, date_of_birth, age_over18, age_over21, resident_address, resident_country, resident_region, resident_city, resident_street, resident_house_number, resident_block, resident_flat, issue_date, expiry_date, issuing_authority, document_type, document_series, document_number].hash
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# Builds the object from hash
|
|
341
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
342
|
+
# @return [Object] Returns the model itself
|
|
343
|
+
def self.build_from_hash(attributes)
|
|
344
|
+
return nil unless attributes.is_a?(Hash)
|
|
345
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
346
|
+
transformed_hash = {}
|
|
347
|
+
openapi_types.each_pair do |key, type|
|
|
348
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
349
|
+
transformed_hash["#{key}"] = nil
|
|
350
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
351
|
+
# check to ensure the input is an array given that the attribute
|
|
352
|
+
# is documented as an array but the input is not
|
|
353
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
354
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
355
|
+
end
|
|
356
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
357
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
358
|
+
end
|
|
359
|
+
end
|
|
360
|
+
new(transformed_hash)
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
# Returns the object in the form of hash
|
|
364
|
+
# @return [Hash] Returns the object in the form of hash
|
|
365
|
+
def to_hash
|
|
366
|
+
hash = {}
|
|
367
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
368
|
+
value = self.send(attr)
|
|
369
|
+
if value.nil?
|
|
370
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
371
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
hash[param] = _to_hash(value)
|
|
375
|
+
end
|
|
376
|
+
hash
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
end
|