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,484 @@
|
|
|
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 `evrotrust` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class EvrotrustProviderOutput < ApiModelBase
|
|
19
|
+
# The full name of the individual.
|
|
20
|
+
attr_accessor :names
|
|
21
|
+
|
|
22
|
+
# The full Latin-script name of the individual.
|
|
23
|
+
attr_accessor :latin_names
|
|
24
|
+
|
|
25
|
+
# The given name of the individual.
|
|
26
|
+
attr_accessor :first_name
|
|
27
|
+
|
|
28
|
+
# The middle name of the individual.
|
|
29
|
+
attr_accessor :middle_name
|
|
30
|
+
|
|
31
|
+
# The family name of the individual.
|
|
32
|
+
attr_accessor :last_name
|
|
33
|
+
|
|
34
|
+
# The Latin-script given name of the individual.
|
|
35
|
+
attr_accessor :first_name_latin
|
|
36
|
+
|
|
37
|
+
# The Latin-script middle name of the individual.
|
|
38
|
+
attr_accessor :middle_name_latin
|
|
39
|
+
|
|
40
|
+
# The Latin-script family name of the individual.
|
|
41
|
+
attr_accessor :last_name_latin
|
|
42
|
+
|
|
43
|
+
# The nationality label of the individual.
|
|
44
|
+
attr_accessor :nationality
|
|
45
|
+
|
|
46
|
+
# The nationality country of the individual.
|
|
47
|
+
attr_accessor :nationality_country
|
|
48
|
+
|
|
49
|
+
# The nationality country code of the individual. Evrotrust uses ISO 3166-1 alpha-3 country codes.
|
|
50
|
+
attr_accessor :nationality_country_code
|
|
51
|
+
|
|
52
|
+
# The gender label of the individual. Known values in Evrotrust API docs: - Male: the individual is male. - Female: the individual is female.
|
|
53
|
+
attr_accessor :gender
|
|
54
|
+
|
|
55
|
+
# The Latin-script gender label of the individual. Known values in Evrotrust API docs: - Male: the individual is male. - Female: the individual is female.
|
|
56
|
+
attr_accessor :gender_latin
|
|
57
|
+
|
|
58
|
+
# The gender value from Evrotrust's user data object. Evrotrust documents this separately from the identification metadata gender labels. Known values: - Male: the individual is male. - Female: the individual is female.
|
|
59
|
+
attr_accessor :user_gender
|
|
60
|
+
|
|
61
|
+
# The date of birth of the individual in YYYY-MM-DD format.
|
|
62
|
+
attr_accessor :date_of_birth
|
|
63
|
+
|
|
64
|
+
# The place of birth of the individual, if available.
|
|
65
|
+
attr_accessor :place_of_birth
|
|
66
|
+
|
|
67
|
+
# The national identification number of the individual. The format depends on the verified document and issuing country.
|
|
68
|
+
attr_accessor :identification_number
|
|
69
|
+
|
|
70
|
+
# The localized document type label of the identity document. For Evrotrust's canonical document type code, see `docType`.
|
|
71
|
+
attr_accessor :document_type
|
|
72
|
+
|
|
73
|
+
# The canonical Evrotrust document type code. Known values: - IDcard: an identity card. - Passport: a passport.
|
|
74
|
+
attr_accessor :doc_type
|
|
75
|
+
|
|
76
|
+
# The identity document number.
|
|
77
|
+
attr_accessor :document_number
|
|
78
|
+
|
|
79
|
+
# The name of the authority that issued the identity document.
|
|
80
|
+
attr_accessor :document_issuer_name
|
|
81
|
+
|
|
82
|
+
# The identity document issue date in YYYY-MM-DD format. Evrotrust documents timestamp `0` for this field as no value; it is omitted from provider-specific output.
|
|
83
|
+
attr_accessor :document_issue_date
|
|
84
|
+
|
|
85
|
+
# The identity document expiration date in YYYY-MM-DD format. Evrotrust documents timestamp `0` for this field as no value; it is omitted from provider-specific output.
|
|
86
|
+
attr_accessor :document_valid_date
|
|
87
|
+
|
|
88
|
+
# The identity document issuing country.
|
|
89
|
+
attr_accessor :document_country
|
|
90
|
+
|
|
91
|
+
# The identity document issuing country code. Evrotrust uses ISO 3166-1 alpha-3 country codes.
|
|
92
|
+
attr_accessor :document_country_code
|
|
93
|
+
|
|
94
|
+
# The full address of the individual.
|
|
95
|
+
attr_accessor :address
|
|
96
|
+
|
|
97
|
+
# The structured address fragments of the individual, if available.
|
|
98
|
+
attr_accessor :address_components
|
|
99
|
+
|
|
100
|
+
# The email addresses of the individual, if available.
|
|
101
|
+
attr_accessor :email_addresses
|
|
102
|
+
|
|
103
|
+
# The phone numbers of the individual in E.164 format, if available.
|
|
104
|
+
attr_accessor :phone_numbers
|
|
105
|
+
|
|
106
|
+
# The relying party-provided reason for requesting identification.
|
|
107
|
+
attr_accessor :identification_reason
|
|
108
|
+
|
|
109
|
+
# The deadline or contextual value supplied for the identification request.
|
|
110
|
+
attr_accessor :identification_before
|
|
111
|
+
|
|
112
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
113
|
+
def self.attribute_map
|
|
114
|
+
{
|
|
115
|
+
:'names' => :'names',
|
|
116
|
+
:'latin_names' => :'latinNames',
|
|
117
|
+
:'first_name' => :'firstName',
|
|
118
|
+
:'middle_name' => :'middleName',
|
|
119
|
+
:'last_name' => :'lastName',
|
|
120
|
+
:'first_name_latin' => :'firstNameLatin',
|
|
121
|
+
:'middle_name_latin' => :'middleNameLatin',
|
|
122
|
+
:'last_name_latin' => :'lastNameLatin',
|
|
123
|
+
:'nationality' => :'nationality',
|
|
124
|
+
:'nationality_country' => :'nationalityCountry',
|
|
125
|
+
:'nationality_country_code' => :'nationalityCountryCode',
|
|
126
|
+
:'gender' => :'gender',
|
|
127
|
+
:'gender_latin' => :'genderLatin',
|
|
128
|
+
:'user_gender' => :'userGender',
|
|
129
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
130
|
+
:'place_of_birth' => :'placeOfBirth',
|
|
131
|
+
:'identification_number' => :'identificationNumber',
|
|
132
|
+
:'document_type' => :'documentType',
|
|
133
|
+
:'doc_type' => :'docType',
|
|
134
|
+
:'document_number' => :'documentNumber',
|
|
135
|
+
:'document_issuer_name' => :'documentIssuerName',
|
|
136
|
+
:'document_issue_date' => :'documentIssueDate',
|
|
137
|
+
:'document_valid_date' => :'documentValidDate',
|
|
138
|
+
:'document_country' => :'documentCountry',
|
|
139
|
+
:'document_country_code' => :'documentCountryCode',
|
|
140
|
+
:'address' => :'address',
|
|
141
|
+
:'address_components' => :'addressComponents',
|
|
142
|
+
:'email_addresses' => :'emailAddresses',
|
|
143
|
+
:'phone_numbers' => :'phoneNumbers',
|
|
144
|
+
:'identification_reason' => :'identificationReason',
|
|
145
|
+
:'identification_before' => :'identificationBefore'
|
|
146
|
+
}
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# Returns attribute mapping this model knows about
|
|
150
|
+
def self.acceptable_attribute_map
|
|
151
|
+
attribute_map
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
# Returns all the JSON keys this model knows about
|
|
155
|
+
def self.acceptable_attributes
|
|
156
|
+
acceptable_attribute_map.values
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Attribute type mapping.
|
|
160
|
+
def self.openapi_types
|
|
161
|
+
{
|
|
162
|
+
:'names' => :'String',
|
|
163
|
+
:'latin_names' => :'String',
|
|
164
|
+
:'first_name' => :'String',
|
|
165
|
+
:'middle_name' => :'String',
|
|
166
|
+
:'last_name' => :'String',
|
|
167
|
+
:'first_name_latin' => :'String',
|
|
168
|
+
:'middle_name_latin' => :'String',
|
|
169
|
+
:'last_name_latin' => :'String',
|
|
170
|
+
:'nationality' => :'String',
|
|
171
|
+
:'nationality_country' => :'String',
|
|
172
|
+
:'nationality_country_code' => :'String',
|
|
173
|
+
:'gender' => :'String',
|
|
174
|
+
:'gender_latin' => :'String',
|
|
175
|
+
:'user_gender' => :'String',
|
|
176
|
+
:'date_of_birth' => :'Date',
|
|
177
|
+
:'place_of_birth' => :'String',
|
|
178
|
+
:'identification_number' => :'String',
|
|
179
|
+
:'document_type' => :'String',
|
|
180
|
+
:'doc_type' => :'String',
|
|
181
|
+
:'document_number' => :'String',
|
|
182
|
+
:'document_issuer_name' => :'String',
|
|
183
|
+
:'document_issue_date' => :'Date',
|
|
184
|
+
:'document_valid_date' => :'Date',
|
|
185
|
+
:'document_country' => :'String',
|
|
186
|
+
:'document_country_code' => :'String',
|
|
187
|
+
:'address' => :'String',
|
|
188
|
+
:'address_components' => :'EvrotrustAddressComponents',
|
|
189
|
+
:'email_addresses' => :'Array<String>',
|
|
190
|
+
:'phone_numbers' => :'Array<String>',
|
|
191
|
+
:'identification_reason' => :'String',
|
|
192
|
+
:'identification_before' => :'String'
|
|
193
|
+
}
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# List of attributes with nullable: true
|
|
197
|
+
def self.openapi_nullable
|
|
198
|
+
Set.new([
|
|
199
|
+
:'names',
|
|
200
|
+
:'latin_names',
|
|
201
|
+
:'first_name',
|
|
202
|
+
:'middle_name',
|
|
203
|
+
:'last_name',
|
|
204
|
+
:'first_name_latin',
|
|
205
|
+
:'middle_name_latin',
|
|
206
|
+
:'last_name_latin',
|
|
207
|
+
:'nationality',
|
|
208
|
+
:'nationality_country',
|
|
209
|
+
:'nationality_country_code',
|
|
210
|
+
:'gender',
|
|
211
|
+
:'gender_latin',
|
|
212
|
+
:'user_gender',
|
|
213
|
+
:'date_of_birth',
|
|
214
|
+
:'place_of_birth',
|
|
215
|
+
:'identification_number',
|
|
216
|
+
:'document_type',
|
|
217
|
+
:'doc_type',
|
|
218
|
+
:'document_number',
|
|
219
|
+
:'document_issuer_name',
|
|
220
|
+
:'document_issue_date',
|
|
221
|
+
:'document_valid_date',
|
|
222
|
+
:'document_country',
|
|
223
|
+
:'document_country_code',
|
|
224
|
+
:'address',
|
|
225
|
+
:'address_components',
|
|
226
|
+
:'email_addresses',
|
|
227
|
+
:'phone_numbers',
|
|
228
|
+
:'identification_reason',
|
|
229
|
+
:'identification_before'
|
|
230
|
+
])
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
# Initializes the object
|
|
234
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
235
|
+
def initialize(attributes = {})
|
|
236
|
+
if (!attributes.is_a?(Hash))
|
|
237
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::EvrotrustProviderOutput` initialize method"
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
241
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
242
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
243
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
244
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::EvrotrustProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
245
|
+
end
|
|
246
|
+
h[k.to_sym] = v
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if attributes.key?(:'names')
|
|
250
|
+
self.names = attributes[:'names']
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
if attributes.key?(:'latin_names')
|
|
254
|
+
self.latin_names = attributes[:'latin_names']
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
if attributes.key?(:'first_name')
|
|
258
|
+
self.first_name = attributes[:'first_name']
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
if attributes.key?(:'middle_name')
|
|
262
|
+
self.middle_name = attributes[:'middle_name']
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
if attributes.key?(:'last_name')
|
|
266
|
+
self.last_name = attributes[:'last_name']
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
if attributes.key?(:'first_name_latin')
|
|
270
|
+
self.first_name_latin = attributes[:'first_name_latin']
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
if attributes.key?(:'middle_name_latin')
|
|
274
|
+
self.middle_name_latin = attributes[:'middle_name_latin']
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
if attributes.key?(:'last_name_latin')
|
|
278
|
+
self.last_name_latin = attributes[:'last_name_latin']
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
if attributes.key?(:'nationality')
|
|
282
|
+
self.nationality = attributes[:'nationality']
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
if attributes.key?(:'nationality_country')
|
|
286
|
+
self.nationality_country = attributes[:'nationality_country']
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
if attributes.key?(:'nationality_country_code')
|
|
290
|
+
self.nationality_country_code = attributes[:'nationality_country_code']
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
if attributes.key?(:'gender')
|
|
294
|
+
self.gender = attributes[:'gender']
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
if attributes.key?(:'gender_latin')
|
|
298
|
+
self.gender_latin = attributes[:'gender_latin']
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
if attributes.key?(:'user_gender')
|
|
302
|
+
self.user_gender = attributes[:'user_gender']
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
if attributes.key?(:'date_of_birth')
|
|
306
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
if attributes.key?(:'place_of_birth')
|
|
310
|
+
self.place_of_birth = attributes[:'place_of_birth']
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
if attributes.key?(:'identification_number')
|
|
314
|
+
self.identification_number = attributes[:'identification_number']
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
if attributes.key?(:'document_type')
|
|
318
|
+
self.document_type = attributes[:'document_type']
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
if attributes.key?(:'doc_type')
|
|
322
|
+
self.doc_type = attributes[:'doc_type']
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
if attributes.key?(:'document_number')
|
|
326
|
+
self.document_number = attributes[:'document_number']
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
if attributes.key?(:'document_issuer_name')
|
|
330
|
+
self.document_issuer_name = attributes[:'document_issuer_name']
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
if attributes.key?(:'document_issue_date')
|
|
334
|
+
self.document_issue_date = attributes[:'document_issue_date']
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
if attributes.key?(:'document_valid_date')
|
|
338
|
+
self.document_valid_date = attributes[:'document_valid_date']
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
if attributes.key?(:'document_country')
|
|
342
|
+
self.document_country = attributes[:'document_country']
|
|
343
|
+
end
|
|
344
|
+
|
|
345
|
+
if attributes.key?(:'document_country_code')
|
|
346
|
+
self.document_country_code = attributes[:'document_country_code']
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
if attributes.key?(:'address')
|
|
350
|
+
self.address = attributes[:'address']
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
if attributes.key?(:'address_components')
|
|
354
|
+
self.address_components = attributes[:'address_components']
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
if attributes.key?(:'email_addresses')
|
|
358
|
+
if (value = attributes[:'email_addresses']).is_a?(Array)
|
|
359
|
+
self.email_addresses = value
|
|
360
|
+
end
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
if attributes.key?(:'phone_numbers')
|
|
364
|
+
if (value = attributes[:'phone_numbers']).is_a?(Array)
|
|
365
|
+
self.phone_numbers = value
|
|
366
|
+
end
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
if attributes.key?(:'identification_reason')
|
|
370
|
+
self.identification_reason = attributes[:'identification_reason']
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
if attributes.key?(:'identification_before')
|
|
374
|
+
self.identification_before = attributes[:'identification_before']
|
|
375
|
+
end
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
379
|
+
# @return Array for valid properties with the reasons
|
|
380
|
+
def list_invalid_properties
|
|
381
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
382
|
+
invalid_properties = Array.new
|
|
383
|
+
invalid_properties
|
|
384
|
+
end
|
|
385
|
+
|
|
386
|
+
# Check to see if the all the properties in the model are valid
|
|
387
|
+
# @return true if the model is valid
|
|
388
|
+
def valid?
|
|
389
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
390
|
+
true
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
# Checks equality by comparing each attribute.
|
|
394
|
+
# @param [Object] Object to be compared
|
|
395
|
+
def ==(o)
|
|
396
|
+
return true if self.equal?(o)
|
|
397
|
+
self.class == o.class &&
|
|
398
|
+
names == o.names &&
|
|
399
|
+
latin_names == o.latin_names &&
|
|
400
|
+
first_name == o.first_name &&
|
|
401
|
+
middle_name == o.middle_name &&
|
|
402
|
+
last_name == o.last_name &&
|
|
403
|
+
first_name_latin == o.first_name_latin &&
|
|
404
|
+
middle_name_latin == o.middle_name_latin &&
|
|
405
|
+
last_name_latin == o.last_name_latin &&
|
|
406
|
+
nationality == o.nationality &&
|
|
407
|
+
nationality_country == o.nationality_country &&
|
|
408
|
+
nationality_country_code == o.nationality_country_code &&
|
|
409
|
+
gender == o.gender &&
|
|
410
|
+
gender_latin == o.gender_latin &&
|
|
411
|
+
user_gender == o.user_gender &&
|
|
412
|
+
date_of_birth == o.date_of_birth &&
|
|
413
|
+
place_of_birth == o.place_of_birth &&
|
|
414
|
+
identification_number == o.identification_number &&
|
|
415
|
+
document_type == o.document_type &&
|
|
416
|
+
doc_type == o.doc_type &&
|
|
417
|
+
document_number == o.document_number &&
|
|
418
|
+
document_issuer_name == o.document_issuer_name &&
|
|
419
|
+
document_issue_date == o.document_issue_date &&
|
|
420
|
+
document_valid_date == o.document_valid_date &&
|
|
421
|
+
document_country == o.document_country &&
|
|
422
|
+
document_country_code == o.document_country_code &&
|
|
423
|
+
address == o.address &&
|
|
424
|
+
address_components == o.address_components &&
|
|
425
|
+
email_addresses == o.email_addresses &&
|
|
426
|
+
phone_numbers == o.phone_numbers &&
|
|
427
|
+
identification_reason == o.identification_reason &&
|
|
428
|
+
identification_before == o.identification_before
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
# @see the `==` method
|
|
432
|
+
# @param [Object] Object to be compared
|
|
433
|
+
def eql?(o)
|
|
434
|
+
self == o
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# Calculates hash code according to all attributes.
|
|
438
|
+
# @return [Integer] Hash code
|
|
439
|
+
def hash
|
|
440
|
+
[names, latin_names, first_name, middle_name, last_name, first_name_latin, middle_name_latin, last_name_latin, nationality, nationality_country, nationality_country_code, gender, gender_latin, user_gender, date_of_birth, place_of_birth, identification_number, document_type, doc_type, document_number, document_issuer_name, document_issue_date, document_valid_date, document_country, document_country_code, address, address_components, email_addresses, phone_numbers, identification_reason, identification_before].hash
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# Builds the object from hash
|
|
444
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
445
|
+
# @return [Object] Returns the model itself
|
|
446
|
+
def self.build_from_hash(attributes)
|
|
447
|
+
return nil unless attributes.is_a?(Hash)
|
|
448
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
449
|
+
transformed_hash = {}
|
|
450
|
+
openapi_types.each_pair do |key, type|
|
|
451
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
452
|
+
transformed_hash["#{key}"] = nil
|
|
453
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
454
|
+
# check to ensure the input is an array given that the attribute
|
|
455
|
+
# is documented as an array but the input is not
|
|
456
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
457
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
458
|
+
end
|
|
459
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
460
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
461
|
+
end
|
|
462
|
+
end
|
|
463
|
+
new(transformed_hash)
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
# Returns the object in the form of hash
|
|
467
|
+
# @return [Hash] Returns the object in the form of hash
|
|
468
|
+
def to_hash
|
|
469
|
+
hash = {}
|
|
470
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
471
|
+
value = self.send(attr)
|
|
472
|
+
if value.nil?
|
|
473
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
474
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
475
|
+
end
|
|
476
|
+
|
|
477
|
+
hash[param] = _to_hash(value)
|
|
478
|
+
end
|
|
479
|
+
hash
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
end
|
|
@@ -61,6 +61,10 @@ module TrinsicApi
|
|
|
61
61
|
# List of attributes with nullable: true
|
|
62
62
|
def self.openapi_nullable
|
|
63
63
|
Set.new([
|
|
64
|
+
:'first_name',
|
|
65
|
+
:'last_name',
|
|
66
|
+
:'date_of_birth',
|
|
67
|
+
:'personal_identification_code'
|
|
64
68
|
])
|
|
65
69
|
end
|
|
66
70
|
|
|
@@ -82,26 +86,18 @@ module TrinsicApi
|
|
|
82
86
|
|
|
83
87
|
if attributes.key?(:'first_name')
|
|
84
88
|
self.first_name = attributes[:'first_name']
|
|
85
|
-
else
|
|
86
|
-
self.first_name = nil
|
|
87
89
|
end
|
|
88
90
|
|
|
89
91
|
if attributes.key?(:'last_name')
|
|
90
92
|
self.last_name = attributes[:'last_name']
|
|
91
|
-
else
|
|
92
|
-
self.last_name = nil
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
if attributes.key?(:'date_of_birth')
|
|
96
96
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
97
|
-
else
|
|
98
|
-
self.date_of_birth = nil
|
|
99
97
|
end
|
|
100
98
|
|
|
101
99
|
if attributes.key?(:'personal_identification_code')
|
|
102
100
|
self.personal_identification_code = attributes[:'personal_identification_code']
|
|
103
|
-
else
|
|
104
|
-
self.personal_identification_code = nil
|
|
105
101
|
end
|
|
106
102
|
end
|
|
107
103
|
|
|
@@ -110,22 +106,6 @@ module TrinsicApi
|
|
|
110
106
|
def list_invalid_properties
|
|
111
107
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
112
108
|
invalid_properties = Array.new
|
|
113
|
-
if @first_name.nil?
|
|
114
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
if @last_name.nil?
|
|
118
|
-
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if @date_of_birth.nil?
|
|
122
|
-
invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if @personal_identification_code.nil?
|
|
126
|
-
invalid_properties.push('invalid value for "personal_identification_code", personal_identification_code cannot be nil.')
|
|
127
|
-
end
|
|
128
|
-
|
|
129
109
|
invalid_properties
|
|
130
110
|
end
|
|
131
111
|
|
|
@@ -133,53 +113,9 @@ module TrinsicApi
|
|
|
133
113
|
# @return true if the model is valid
|
|
134
114
|
def valid?
|
|
135
115
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
136
|
-
return false if @first_name.nil?
|
|
137
|
-
return false if @last_name.nil?
|
|
138
|
-
return false if @date_of_birth.nil?
|
|
139
|
-
return false if @personal_identification_code.nil?
|
|
140
116
|
true
|
|
141
117
|
end
|
|
142
118
|
|
|
143
|
-
# Custom attribute writer method with validation
|
|
144
|
-
# @param [Object] first_name Value to be assigned
|
|
145
|
-
def first_name=(first_name)
|
|
146
|
-
if first_name.nil?
|
|
147
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
@first_name = first_name
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
# Custom attribute writer method with validation
|
|
154
|
-
# @param [Object] last_name Value to be assigned
|
|
155
|
-
def last_name=(last_name)
|
|
156
|
-
if last_name.nil?
|
|
157
|
-
fail ArgumentError, 'last_name cannot be nil'
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
@last_name = last_name
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
# Custom attribute writer method with validation
|
|
164
|
-
# @param [Object] date_of_birth Value to be assigned
|
|
165
|
-
def date_of_birth=(date_of_birth)
|
|
166
|
-
if date_of_birth.nil?
|
|
167
|
-
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
@date_of_birth = date_of_birth
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
# Custom attribute writer method with validation
|
|
174
|
-
# @param [Object] personal_identification_code Value to be assigned
|
|
175
|
-
def personal_identification_code=(personal_identification_code)
|
|
176
|
-
if personal_identification_code.nil?
|
|
177
|
-
fail ArgumentError, 'personal_identification_code cannot be nil'
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
@personal_identification_code = personal_identification_code
|
|
181
|
-
end
|
|
182
|
-
|
|
183
119
|
# Checks equality by comparing each attribute.
|
|
184
120
|
# @param [Object] Object to be compared
|
|
185
121
|
def ==(o)
|
|
@@ -58,6 +58,7 @@ module TrinsicApi
|
|
|
58
58
|
Set.new([
|
|
59
59
|
:'pid',
|
|
60
60
|
:'age_verification',
|
|
61
|
+
:'raw18013_output'
|
|
61
62
|
])
|
|
62
63
|
end
|
|
63
64
|
|
|
@@ -87,8 +88,6 @@ module TrinsicApi
|
|
|
87
88
|
|
|
88
89
|
if attributes.key?(:'raw18013_output')
|
|
89
90
|
self.raw18013_output = attributes[:'raw18013_output']
|
|
90
|
-
else
|
|
91
|
-
self.raw18013_output = nil
|
|
92
91
|
end
|
|
93
92
|
end
|
|
94
93
|
|
|
@@ -97,10 +96,6 @@ module TrinsicApi
|
|
|
97
96
|
def list_invalid_properties
|
|
98
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
99
98
|
invalid_properties = Array.new
|
|
100
|
-
if @raw18013_output.nil?
|
|
101
|
-
invalid_properties.push('invalid value for "raw18013_output", raw18013_output cannot be nil.')
|
|
102
|
-
end
|
|
103
|
-
|
|
104
99
|
invalid_properties
|
|
105
100
|
end
|
|
106
101
|
|
|
@@ -108,20 +103,9 @@ module TrinsicApi
|
|
|
108
103
|
# @return true if the model is valid
|
|
109
104
|
def valid?
|
|
110
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
111
|
-
return false if @raw18013_output.nil?
|
|
112
106
|
true
|
|
113
107
|
end
|
|
114
108
|
|
|
115
|
-
# Custom attribute writer method with validation
|
|
116
|
-
# @param [Object] raw18013_output Value to be assigned
|
|
117
|
-
def raw18013_output=(raw18013_output)
|
|
118
|
-
if raw18013_output.nil?
|
|
119
|
-
fail ArgumentError, 'raw18013_output cannot be nil'
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
@raw18013_output = raw18013_output
|
|
123
|
-
end
|
|
124
|
-
|
|
125
109
|
# Checks equality by comparing each attribute.
|
|
126
110
|
# @param [Object] Object to be compared
|
|
127
111
|
def ==(o)
|