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
|
@@ -66,7 +66,11 @@ module TrinsicApi
|
|
|
66
66
|
# List of attributes with nullable: true
|
|
67
67
|
def self.openapi_nullable
|
|
68
68
|
Set.new([
|
|
69
|
+
:'full_name',
|
|
70
|
+
:'given_name',
|
|
71
|
+
:'family_name',
|
|
69
72
|
:'date_of_birth',
|
|
73
|
+
:'document_number'
|
|
70
74
|
])
|
|
71
75
|
end
|
|
72
76
|
|
|
@@ -88,20 +92,14 @@ module TrinsicApi
|
|
|
88
92
|
|
|
89
93
|
if attributes.key?(:'full_name')
|
|
90
94
|
self.full_name = attributes[:'full_name']
|
|
91
|
-
else
|
|
92
|
-
self.full_name = nil
|
|
93
95
|
end
|
|
94
96
|
|
|
95
97
|
if attributes.key?(:'given_name')
|
|
96
98
|
self.given_name = attributes[:'given_name']
|
|
97
|
-
else
|
|
98
|
-
self.given_name = nil
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
if attributes.key?(:'family_name')
|
|
102
102
|
self.family_name = attributes[:'family_name']
|
|
103
|
-
else
|
|
104
|
-
self.family_name = nil
|
|
105
103
|
end
|
|
106
104
|
|
|
107
105
|
if attributes.key?(:'date_of_birth')
|
|
@@ -110,8 +108,6 @@ module TrinsicApi
|
|
|
110
108
|
|
|
111
109
|
if attributes.key?(:'document_number')
|
|
112
110
|
self.document_number = attributes[:'document_number']
|
|
113
|
-
else
|
|
114
|
-
self.document_number = nil
|
|
115
111
|
end
|
|
116
112
|
end
|
|
117
113
|
|
|
@@ -120,22 +116,6 @@ module TrinsicApi
|
|
|
120
116
|
def list_invalid_properties
|
|
121
117
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
122
118
|
invalid_properties = Array.new
|
|
123
|
-
if @full_name.nil?
|
|
124
|
-
invalid_properties.push('invalid value for "full_name", full_name cannot be nil.')
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
if @given_name.nil?
|
|
128
|
-
invalid_properties.push('invalid value for "given_name", given_name cannot be nil.')
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
if @family_name.nil?
|
|
132
|
-
invalid_properties.push('invalid value for "family_name", family_name cannot be nil.')
|
|
133
|
-
end
|
|
134
|
-
|
|
135
|
-
if @document_number.nil?
|
|
136
|
-
invalid_properties.push('invalid value for "document_number", document_number cannot be nil.')
|
|
137
|
-
end
|
|
138
|
-
|
|
139
119
|
invalid_properties
|
|
140
120
|
end
|
|
141
121
|
|
|
@@ -143,53 +123,9 @@ module TrinsicApi
|
|
|
143
123
|
# @return true if the model is valid
|
|
144
124
|
def valid?
|
|
145
125
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
146
|
-
return false if @full_name.nil?
|
|
147
|
-
return false if @given_name.nil?
|
|
148
|
-
return false if @family_name.nil?
|
|
149
|
-
return false if @document_number.nil?
|
|
150
126
|
true
|
|
151
127
|
end
|
|
152
128
|
|
|
153
|
-
# Custom attribute writer method with validation
|
|
154
|
-
# @param [Object] full_name Value to be assigned
|
|
155
|
-
def full_name=(full_name)
|
|
156
|
-
if full_name.nil?
|
|
157
|
-
fail ArgumentError, 'full_name cannot be nil'
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
@full_name = full_name
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
# Custom attribute writer method with validation
|
|
164
|
-
# @param [Object] given_name Value to be assigned
|
|
165
|
-
def given_name=(given_name)
|
|
166
|
-
if given_name.nil?
|
|
167
|
-
fail ArgumentError, 'given_name cannot be nil'
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
@given_name = given_name
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
# Custom attribute writer method with validation
|
|
174
|
-
# @param [Object] family_name Value to be assigned
|
|
175
|
-
def family_name=(family_name)
|
|
176
|
-
if family_name.nil?
|
|
177
|
-
fail ArgumentError, 'family_name cannot be nil'
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
@family_name = family_name
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
# Custom attribute writer method with validation
|
|
184
|
-
# @param [Object] document_number Value to be assigned
|
|
185
|
-
def document_number=(document_number)
|
|
186
|
-
if document_number.nil?
|
|
187
|
-
fail ArgumentError, 'document_number cannot be nil'
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
@document_number = document_number
|
|
191
|
-
end
|
|
192
|
-
|
|
193
129
|
# Checks equality by comparing each attribute.
|
|
194
130
|
# @param [Object] Object to be compared
|
|
195
131
|
def ==(o)
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
class BrazilBiometricVerificationOutput < ApiModelBase
|
|
18
|
+
# The probability of the selfie verification being successful. Possible values: - VeryLow - Low - High - VeryHigh
|
|
19
|
+
attr_accessor :selfie_verification_probability
|
|
20
|
+
|
|
21
|
+
# The outcome of the selfie verification. Possible values: - Real - Fake - BadQuality
|
|
22
|
+
attr_accessor :selfie_liveness_outcome
|
|
23
|
+
|
|
24
|
+
# Whether the government database had biometrics available for the individual. Also false in some cases biometrics are available but not sufficient for selfie verification.
|
|
25
|
+
attr_accessor :database_selfie_available
|
|
26
|
+
|
|
27
|
+
# Similarity match score of selfie verification. Ranges from 0.0 to 1.0.
|
|
28
|
+
attr_accessor :selfie_similarity_percentage
|
|
29
|
+
|
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
|
+
def self.attribute_map
|
|
32
|
+
{
|
|
33
|
+
:'selfie_verification_probability' => :'selfieVerificationProbability',
|
|
34
|
+
:'selfie_liveness_outcome' => :'selfieLivenessOutcome',
|
|
35
|
+
:'database_selfie_available' => :'databaseSelfieAvailable',
|
|
36
|
+
:'selfie_similarity_percentage' => :'selfieSimilarityPercentage'
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# Returns attribute mapping this model knows about
|
|
41
|
+
def self.acceptable_attribute_map
|
|
42
|
+
attribute_map
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Returns all the JSON keys this model knows about
|
|
46
|
+
def self.acceptable_attributes
|
|
47
|
+
acceptable_attribute_map.values
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Attribute type mapping.
|
|
51
|
+
def self.openapi_types
|
|
52
|
+
{
|
|
53
|
+
:'selfie_verification_probability' => :'String',
|
|
54
|
+
:'selfie_liveness_outcome' => :'String',
|
|
55
|
+
:'database_selfie_available' => :'Boolean',
|
|
56
|
+
:'selfie_similarity_percentage' => :'Float'
|
|
57
|
+
}
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# List of attributes with nullable: true
|
|
61
|
+
def self.openapi_nullable
|
|
62
|
+
Set.new([
|
|
63
|
+
:'selfie_verification_probability',
|
|
64
|
+
:'selfie_liveness_outcome',
|
|
65
|
+
:'database_selfie_available',
|
|
66
|
+
:'selfie_similarity_percentage'
|
|
67
|
+
])
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Initializes the object
|
|
71
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
72
|
+
def initialize(attributes = {})
|
|
73
|
+
if (!attributes.is_a?(Hash))
|
|
74
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::BrazilBiometricVerificationOutput` initialize method"
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
78
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
79
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
80
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
81
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::BrazilBiometricVerificationOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
82
|
+
end
|
|
83
|
+
h[k.to_sym] = v
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
if attributes.key?(:'selfie_verification_probability')
|
|
87
|
+
self.selfie_verification_probability = attributes[:'selfie_verification_probability']
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'selfie_liveness_outcome')
|
|
91
|
+
self.selfie_liveness_outcome = attributes[:'selfie_liveness_outcome']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if attributes.key?(:'database_selfie_available')
|
|
95
|
+
self.database_selfie_available = attributes[:'database_selfie_available']
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
if attributes.key?(:'selfie_similarity_percentage')
|
|
99
|
+
self.selfie_similarity_percentage = attributes[:'selfie_similarity_percentage']
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
104
|
+
# @return Array for valid properties with the reasons
|
|
105
|
+
def list_invalid_properties
|
|
106
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
107
|
+
invalid_properties = Array.new
|
|
108
|
+
invalid_properties
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# Check to see if the all the properties in the model are valid
|
|
112
|
+
# @return true if the model is valid
|
|
113
|
+
def valid?
|
|
114
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
115
|
+
true
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
# Checks equality by comparing each attribute.
|
|
119
|
+
# @param [Object] Object to be compared
|
|
120
|
+
def ==(o)
|
|
121
|
+
return true if self.equal?(o)
|
|
122
|
+
self.class == o.class &&
|
|
123
|
+
selfie_verification_probability == o.selfie_verification_probability &&
|
|
124
|
+
selfie_liveness_outcome == o.selfie_liveness_outcome &&
|
|
125
|
+
database_selfie_available == o.database_selfie_available &&
|
|
126
|
+
selfie_similarity_percentage == o.selfie_similarity_percentage
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# @see the `==` method
|
|
130
|
+
# @param [Object] Object to be compared
|
|
131
|
+
def eql?(o)
|
|
132
|
+
self == o
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Calculates hash code according to all attributes.
|
|
136
|
+
# @return [Integer] Hash code
|
|
137
|
+
def hash
|
|
138
|
+
[selfie_verification_probability, selfie_liveness_outcome, database_selfie_available, selfie_similarity_percentage].hash
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Builds the object from hash
|
|
142
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
143
|
+
# @return [Object] Returns the model itself
|
|
144
|
+
def self.build_from_hash(attributes)
|
|
145
|
+
return nil unless attributes.is_a?(Hash)
|
|
146
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
147
|
+
transformed_hash = {}
|
|
148
|
+
openapi_types.each_pair do |key, type|
|
|
149
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
150
|
+
transformed_hash["#{key}"] = nil
|
|
151
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
152
|
+
# check to ensure the input is an array given that the attribute
|
|
153
|
+
# is documented as an array but the input is not
|
|
154
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
155
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
156
|
+
end
|
|
157
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
158
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
new(transformed_hash)
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# Returns the object in the form of hash
|
|
165
|
+
# @return [Hash] Returns the object in the form of hash
|
|
166
|
+
def to_hash
|
|
167
|
+
hash = {}
|
|
168
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
169
|
+
value = self.send(attr)
|
|
170
|
+
if value.nil?
|
|
171
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
172
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
hash[param] = _to_hash(value)
|
|
176
|
+
end
|
|
177
|
+
hash
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
end
|
|
@@ -60,6 +60,7 @@ module TrinsicApi
|
|
|
60
60
|
# List of attributes with nullable: true
|
|
61
61
|
def self.openapi_nullable
|
|
62
62
|
Set.new([
|
|
63
|
+
:'database_face_available',
|
|
63
64
|
:'probability',
|
|
64
65
|
:'similarity_score',
|
|
65
66
|
:'liveness'
|
|
@@ -84,8 +85,6 @@ module TrinsicApi
|
|
|
84
85
|
|
|
85
86
|
if attributes.key?(:'database_face_available')
|
|
86
87
|
self.database_face_available = attributes[:'database_face_available']
|
|
87
|
-
else
|
|
88
|
-
self.database_face_available = nil
|
|
89
88
|
end
|
|
90
89
|
|
|
91
90
|
if attributes.key?(:'probability')
|
|
@@ -106,10 +105,6 @@ module TrinsicApi
|
|
|
106
105
|
def list_invalid_properties
|
|
107
106
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
108
107
|
invalid_properties = Array.new
|
|
109
|
-
if @database_face_available.nil?
|
|
110
|
-
invalid_properties.push('invalid value for "database_face_available", database_face_available cannot be nil.')
|
|
111
|
-
end
|
|
112
|
-
|
|
113
108
|
invalid_properties
|
|
114
109
|
end
|
|
115
110
|
|
|
@@ -117,20 +112,9 @@ module TrinsicApi
|
|
|
117
112
|
# @return true if the model is valid
|
|
118
113
|
def valid?
|
|
119
114
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
120
|
-
return false if @database_face_available.nil?
|
|
121
115
|
true
|
|
122
116
|
end
|
|
123
117
|
|
|
124
|
-
# Custom attribute writer method with validation
|
|
125
|
-
# @param [Object] database_face_available Value to be assigned
|
|
126
|
-
def database_face_available=(database_face_available)
|
|
127
|
-
if database_face_available.nil?
|
|
128
|
-
fail ArgumentError, 'database_face_available cannot be nil'
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
@database_face_available = database_face_available
|
|
132
|
-
end
|
|
133
|
-
|
|
134
118
|
# Checks equality by comparing each attribute.
|
|
135
119
|
# @param [Object] Object to be compared
|
|
136
120
|
def ==(o)
|
|
@@ -18,6 +18,9 @@ module TrinsicApi
|
|
|
18
18
|
# The user's 11-digit, numeric CPF Number
|
|
19
19
|
attr_accessor :cpf_number
|
|
20
20
|
|
|
21
|
+
# The user's date of birth. Optional, but date of birth will become required for lookups starting September 1, 2026.
|
|
22
|
+
attr_accessor :date_of_birth
|
|
23
|
+
|
|
21
24
|
# The raw bytes of the selfie image collected from the user.
|
|
22
25
|
attr_accessor :selfie_image
|
|
23
26
|
|
|
@@ -28,6 +31,7 @@ module TrinsicApi
|
|
|
28
31
|
def self.attribute_map
|
|
29
32
|
{
|
|
30
33
|
:'cpf_number' => :'cpfNumber',
|
|
34
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
31
35
|
:'selfie_image' => :'selfieImage',
|
|
32
36
|
:'selfie_image_content_type' => :'selfieImageContentType'
|
|
33
37
|
}
|
|
@@ -47,6 +51,7 @@ module TrinsicApi
|
|
|
47
51
|
def self.openapi_types
|
|
48
52
|
{
|
|
49
53
|
:'cpf_number' => :'String',
|
|
54
|
+
:'date_of_birth' => :'Date',
|
|
50
55
|
:'selfie_image' => :'String',
|
|
51
56
|
:'selfie_image_content_type' => :'String'
|
|
52
57
|
}
|
|
@@ -55,6 +60,7 @@ module TrinsicApi
|
|
|
55
60
|
# List of attributes with nullable: true
|
|
56
61
|
def self.openapi_nullable
|
|
57
62
|
Set.new([
|
|
63
|
+
:'date_of_birth',
|
|
58
64
|
:'selfie_image',
|
|
59
65
|
:'selfie_image_content_type'
|
|
60
66
|
])
|
|
@@ -82,6 +88,10 @@ module TrinsicApi
|
|
|
82
88
|
self.cpf_number = nil
|
|
83
89
|
end
|
|
84
90
|
|
|
91
|
+
if attributes.key?(:'date_of_birth')
|
|
92
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
93
|
+
end
|
|
94
|
+
|
|
85
95
|
if attributes.key?(:'selfie_image')
|
|
86
96
|
self.selfie_image = attributes[:'selfie_image']
|
|
87
97
|
end
|
|
@@ -156,6 +166,7 @@ module TrinsicApi
|
|
|
156
166
|
return true if self.equal?(o)
|
|
157
167
|
self.class == o.class &&
|
|
158
168
|
cpf_number == o.cpf_number &&
|
|
169
|
+
date_of_birth == o.date_of_birth &&
|
|
159
170
|
selfie_image == o.selfie_image &&
|
|
160
171
|
selfie_image_content_type == o.selfie_image_content_type
|
|
161
172
|
end
|
|
@@ -169,7 +180,7 @@ module TrinsicApi
|
|
|
169
180
|
# Calculates hash code according to all attributes.
|
|
170
181
|
# @return [Integer] Hash code
|
|
171
182
|
def hash
|
|
172
|
-
[cpf_number, selfie_image, selfie_image_content_type].hash
|
|
183
|
+
[cpf_number, date_of_birth, selfie_image, selfie_image_content_type].hash
|
|
173
184
|
end
|
|
174
185
|
|
|
175
186
|
# Builds the object from hash
|
|
@@ -0,0 +1,262 @@
|
|
|
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 `brazil-cpf-lookup` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class BrazilCpfProviderOutput < ApiModelBase
|
|
19
|
+
# The raw error code for the verification, returned by Serpro. This is a temporary preview to support detailed error handling. When building against this please let the Trinsic team know. Preview features can be turned off without an obsoletion notice.
|
|
20
|
+
attr_accessor :preview_raw_error_code
|
|
21
|
+
|
|
22
|
+
# The individual's CPF number. A CPF (Cadastro de Pessoas Físicas) is the Brazilian individual taxpayer identification number for residents and foreigners. It is an 11-digit number managed by the Federal Revenue Service, the last 2 digits are check digits, calculated based on the first 9 digits. The 9th digit indicates the fiscal region responsible for the registration,
|
|
23
|
+
attr_accessor :cpf_number
|
|
24
|
+
|
|
25
|
+
# List of Brazilian fiscal regions that could have issued this number. This is calculated based off of the CPF number. A CPF number encodes information about what region it is issued from, but some regions share the identifier. Possible values: Formatted as two characters. The digit represents the region code this applies to. - AC (Acre) - 2 - AL (Alagoas) - 4 - AP (Amapá) - 2 - AM (Amazonas) - 2 - BA (Bahia) - 5 - CE (Ceará) - 3 - DF (Distrito Federal) - 1 - ES (Espírito Santo) - 7 - GO (Goiás) - 1 - MA (Maranhão) - 3 - MT (Mato Grosso) - 1 - MS (Mato Grosso do Sul) - 1 - MG (Minas Gerais) - 6 - PA (Pará) - 2 - PB (Paraíba) - 4 - PR (Paraná) - 9 - PE (Pernambuco) - 4 - PI (Piauí) - 3 - RJ (Rio de Janeiro) - 7 - RN (Rio Grande do Norte) - 4 - RO (Rondônia) - 2 - RS (Rio Grande do Sul) - 0 - RR (Roraima) - 2 - SC (Santa Catarina) - 9 - SP (São Paulo) - 8 - SE (Sergipe) - 5 - TO (Tocantins) - 1
|
|
26
|
+
attr_accessor :fiscal_regions
|
|
27
|
+
|
|
28
|
+
# The CPF Status. Possible values: 0 - Regular. The CPF is valid and in good standing. There are no pending issues, registration inconsistencies, or missing mandatory Individual Income Tax Returns (DIRPF). 2 - Suspended. The CPF record contains incorrect or incomplete registration data (e.g., name, date of birth, or voter registration number). This status is typically caused by discrepancies with the Superior Electoral Court (TSE) database or failure to update personal information. 3 - Deceased Holder. The CPF has been registered as belonging to a deceased individual. This status is recorded to prevent post-mortem misuse. 4 - Pending Regularization. The taxpayer has failed to submit one or more mandatory Individual Income Tax Returns (DIRPF) within the last five years. This can occur for various reasons, such as failure to file a mandatory declaration, changes of address, name, marital status, or other important information that does not conform to the records. Regularization requires submission of the overdue returns. 5 - Canceled by Multiplicity. The CPF has been cancelled due to duplicate registration (multiple CPFs assigned to the same individual or a single CPF linked to multiple individuals). 8 - Null. The CPF registration was cancelled due to confirmed fraud or a serious issuance error. Regularization requires in-person verification at a Federal Revenue Service office and may not be guaranteed. 9 - Cancelled Ex Officio. The CPF was cancelled due to administrative or judicial decision, or other registration inconsistencies.
|
|
29
|
+
attr_accessor :status_code
|
|
30
|
+
|
|
31
|
+
# Description of the CPF Status.
|
|
32
|
+
attr_accessor :status_description
|
|
33
|
+
|
|
34
|
+
# The full legal name of the individual.
|
|
35
|
+
attr_accessor :name
|
|
36
|
+
|
|
37
|
+
# The social name of the individual in case the individual would like to use a different name than their full legal name.
|
|
38
|
+
attr_accessor :social_name
|
|
39
|
+
|
|
40
|
+
# The date of birth of the individual.
|
|
41
|
+
attr_accessor :date_of_birth
|
|
42
|
+
|
|
43
|
+
# Deprecated as of September 1, 2026. The year of death of the individual, if applicable.
|
|
44
|
+
attr_accessor :year_of_death
|
|
45
|
+
|
|
46
|
+
# The date of registration of the individual with the Federal Revenue Service.
|
|
47
|
+
attr_accessor :date_of_registration
|
|
48
|
+
|
|
49
|
+
# The biometric verification results. This is an optional configurable check.
|
|
50
|
+
attr_accessor :biometric_verification
|
|
51
|
+
|
|
52
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
|
+
def self.attribute_map
|
|
54
|
+
{
|
|
55
|
+
:'preview_raw_error_code' => :'preview_raw_error_code',
|
|
56
|
+
:'cpf_number' => :'cpfNumber',
|
|
57
|
+
:'fiscal_regions' => :'fiscalRegions',
|
|
58
|
+
:'status_code' => :'statusCode',
|
|
59
|
+
:'status_description' => :'statusDescription',
|
|
60
|
+
:'name' => :'name',
|
|
61
|
+
:'social_name' => :'socialName',
|
|
62
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
63
|
+
:'year_of_death' => :'yearOfDeath',
|
|
64
|
+
:'date_of_registration' => :'dateOfRegistration',
|
|
65
|
+
:'biometric_verification' => :'biometricVerification'
|
|
66
|
+
}
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Returns attribute mapping this model knows about
|
|
70
|
+
def self.acceptable_attribute_map
|
|
71
|
+
attribute_map
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
# Returns all the JSON keys this model knows about
|
|
75
|
+
def self.acceptable_attributes
|
|
76
|
+
acceptable_attribute_map.values
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# Attribute type mapping.
|
|
80
|
+
def self.openapi_types
|
|
81
|
+
{
|
|
82
|
+
:'preview_raw_error_code' => :'String',
|
|
83
|
+
:'cpf_number' => :'String',
|
|
84
|
+
:'fiscal_regions' => :'Array<String>',
|
|
85
|
+
:'status_code' => :'Integer',
|
|
86
|
+
:'status_description' => :'String',
|
|
87
|
+
:'name' => :'String',
|
|
88
|
+
:'social_name' => :'String',
|
|
89
|
+
:'date_of_birth' => :'Date',
|
|
90
|
+
:'year_of_death' => :'String',
|
|
91
|
+
:'date_of_registration' => :'Date',
|
|
92
|
+
:'biometric_verification' => :'BrazilBiometricVerificationOutput'
|
|
93
|
+
}
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# List of attributes with nullable: true
|
|
97
|
+
def self.openapi_nullable
|
|
98
|
+
Set.new([
|
|
99
|
+
:'preview_raw_error_code',
|
|
100
|
+
:'cpf_number',
|
|
101
|
+
:'fiscal_regions',
|
|
102
|
+
:'status_code',
|
|
103
|
+
:'status_description',
|
|
104
|
+
:'name',
|
|
105
|
+
:'social_name',
|
|
106
|
+
:'date_of_birth',
|
|
107
|
+
:'year_of_death',
|
|
108
|
+
:'date_of_registration',
|
|
109
|
+
:'biometric_verification'
|
|
110
|
+
])
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Initializes the object
|
|
114
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
115
|
+
def initialize(attributes = {})
|
|
116
|
+
if (!attributes.is_a?(Hash))
|
|
117
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::BrazilCpfProviderOutput` initialize method"
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
121
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
122
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
123
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
124
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::BrazilCpfProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
125
|
+
end
|
|
126
|
+
h[k.to_sym] = v
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if attributes.key?(:'preview_raw_error_code')
|
|
130
|
+
self.preview_raw_error_code = attributes[:'preview_raw_error_code']
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.key?(:'cpf_number')
|
|
134
|
+
self.cpf_number = attributes[:'cpf_number']
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
if attributes.key?(:'fiscal_regions')
|
|
138
|
+
if (value = attributes[:'fiscal_regions']).is_a?(Array)
|
|
139
|
+
self.fiscal_regions = value
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
if attributes.key?(:'status_code')
|
|
144
|
+
self.status_code = attributes[:'status_code']
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.key?(:'status_description')
|
|
148
|
+
self.status_description = attributes[:'status_description']
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if attributes.key?(:'name')
|
|
152
|
+
self.name = attributes[:'name']
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if attributes.key?(:'social_name')
|
|
156
|
+
self.social_name = attributes[:'social_name']
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
if attributes.key?(:'date_of_birth')
|
|
160
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
if attributes.key?(:'year_of_death')
|
|
164
|
+
self.year_of_death = attributes[:'year_of_death']
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes.key?(:'date_of_registration')
|
|
168
|
+
self.date_of_registration = attributes[:'date_of_registration']
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
if attributes.key?(:'biometric_verification')
|
|
172
|
+
self.biometric_verification = attributes[:'biometric_verification']
|
|
173
|
+
end
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
177
|
+
# @return Array for valid properties with the reasons
|
|
178
|
+
def list_invalid_properties
|
|
179
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
180
|
+
invalid_properties = Array.new
|
|
181
|
+
invalid_properties
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Check to see if the all the properties in the model are valid
|
|
185
|
+
# @return true if the model is valid
|
|
186
|
+
def valid?
|
|
187
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
188
|
+
true
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Checks equality by comparing each attribute.
|
|
192
|
+
# @param [Object] Object to be compared
|
|
193
|
+
def ==(o)
|
|
194
|
+
return true if self.equal?(o)
|
|
195
|
+
self.class == o.class &&
|
|
196
|
+
preview_raw_error_code == o.preview_raw_error_code &&
|
|
197
|
+
cpf_number == o.cpf_number &&
|
|
198
|
+
fiscal_regions == o.fiscal_regions &&
|
|
199
|
+
status_code == o.status_code &&
|
|
200
|
+
status_description == o.status_description &&
|
|
201
|
+
name == o.name &&
|
|
202
|
+
social_name == o.social_name &&
|
|
203
|
+
date_of_birth == o.date_of_birth &&
|
|
204
|
+
year_of_death == o.year_of_death &&
|
|
205
|
+
date_of_registration == o.date_of_registration &&
|
|
206
|
+
biometric_verification == o.biometric_verification
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# @see the `==` method
|
|
210
|
+
# @param [Object] Object to be compared
|
|
211
|
+
def eql?(o)
|
|
212
|
+
self == o
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
# Calculates hash code according to all attributes.
|
|
216
|
+
# @return [Integer] Hash code
|
|
217
|
+
def hash
|
|
218
|
+
[preview_raw_error_code, cpf_number, fiscal_regions, status_code, status_description, name, social_name, date_of_birth, year_of_death, date_of_registration, biometric_verification].hash
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
# Builds the object from hash
|
|
222
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
223
|
+
# @return [Object] Returns the model itself
|
|
224
|
+
def self.build_from_hash(attributes)
|
|
225
|
+
return nil unless attributes.is_a?(Hash)
|
|
226
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
227
|
+
transformed_hash = {}
|
|
228
|
+
openapi_types.each_pair do |key, type|
|
|
229
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
230
|
+
transformed_hash["#{key}"] = nil
|
|
231
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
232
|
+
# check to ensure the input is an array given that the attribute
|
|
233
|
+
# is documented as an array but the input is not
|
|
234
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
235
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
236
|
+
end
|
|
237
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
238
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
239
|
+
end
|
|
240
|
+
end
|
|
241
|
+
new(transformed_hash)
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# Returns the object in the form of hash
|
|
245
|
+
# @return [Hash] Returns the object in the form of hash
|
|
246
|
+
def to_hash
|
|
247
|
+
hash = {}
|
|
248
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
249
|
+
value = self.send(attr)
|
|
250
|
+
if value.nil?
|
|
251
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
252
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
hash[param] = _to_hash(value)
|
|
256
|
+
end
|
|
257
|
+
hash
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
end
|