trinsic_api 3.1.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 +20 -0
- data/docs/AppleWalletDigitalIdCredential.md +54 -0
- data/docs/AppleWalletProviderOutput.md +3 -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 +24 -0
- data/docs/BrazilCnhMatchFieldDateOnly.md +20 -0
- data/docs/BrazilCnhMatchFieldString.md +20 -0
- data/docs/BrazilCnhProviderOutput.md +48 -0
- 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/CreateDirectProviderSessionRequest.md +1 -1
- data/docs/CreateHostedProviderSessionRequest.md +1 -1
- data/docs/CreateHostedProviderSessionResponse.md +1 -1
- data/docs/CzechBankIdAddress.md +36 -0
- data/docs/CzechBankIdCard.md +30 -0
- data/docs/CzechBankIdProviderOutput.md +78 -0
- data/docs/CzechBankIdTitle.md +20 -0
- data/docs/CzechBankIdVerification.md +22 -0
- 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/DiiaIssuerOutput.md +28 -0
- data/docs/DiiaProviderOutput.md +20 -0
- data/docs/DiiaSubjectOutput.md +26 -0
- 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 +20 -0
- data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +20 -0
- data/docs/IndiaDigilockerAadhaarMatchProviderOutput.md +20 -0
- data/docs/IndiaPanStructuredNumber.md +5 -5
- data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +20 -0
- data/docs/IndonesiaDukcapilMatchFullNameField.md +20 -0
- data/docs/IndonesiaDukcapilMatchNationalIdNumberField.md +20 -0
- data/docs/IndonesiaDukcapilMatchProviderOutput.md +38 -0
- data/docs/IndonesiaNikMatch.md +34 -0
- data/docs/IndonesiaNikMatchField.md +20 -0
- data/docs/InteracAddress.md +26 -0
- data/docs/InteracProviderOutput.md +34 -0
- 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/ItsmeAddress.md +28 -0
- 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 -10
- data/docs/KenyaNidLookup2ProviderOutput.md +6 -6
- data/docs/KenyaNidLookup3Input.md +18 -0
- data/docs/KenyaNidLookup3ProviderOutput.md +32 -0
- data/docs/KenyaNidMatch2DateOfBirthField.md +20 -0
- data/docs/KenyaNidMatch2FullNameField.md +20 -0
- data/docs/KenyaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/KenyaNidMatch2ProviderOutput.md +24 -0
- data/docs/KenyaNidMatch2SexField.md +20 -0
- 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/LloydsSmartIdProviderOutput.md +2 -2
- data/docs/MdlOutput.md +4 -4
- data/docs/MdlOutputCertificateData.md +7 -5
- data/docs/MdlOutputFieldData.md +2 -2
- data/docs/MexicoCurpProviderOutput.md +23 -1
- 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/NigeriaNinLookup2Input.md +1 -1
- data/docs/NigeriaNinLookup2ProviderOutput.md +6 -6
- data/docs/NigeriaNinLookup3Input.md +18 -0
- data/docs/NigeriaNinLookup3ProviderOutput.md +50 -0
- data/docs/NigeriaNinMatch2DateOfBirthField.md +20 -0
- data/docs/NigeriaNinMatch2FullNameField.md +20 -0
- data/docs/NigeriaNinMatch2Input.md +1 -1
- data/docs/NigeriaNinMatch2NationalIdNumberField.md +20 -0
- data/docs/NigeriaNinMatch2PhoneNumberField.md +20 -0
- data/docs/NigeriaNinMatch2ProviderOutput.md +26 -0
- data/docs/NigeriaNinMatch2SexField.md +20 -0
- 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 +26 -0
- 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/PostOfficeEasyIdProviderOutput.md +2 -2
- data/docs/Provider.md +0 -4
- data/docs/ProviderInput.md +18 -6
- data/docs/ProviderOutput.md +62 -4
- 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/SouthAfricaNidLookup2Input.md +1 -1
- data/docs/SouthAfricaNidLookup2ProviderOutput.md +36 -0
- data/docs/SouthAfricaNidMatch2DateOfBirthField.md +20 -0
- data/docs/SouthAfricaNidMatch2FullNameField.md +20 -0
- data/docs/SouthAfricaNidMatch2Input.md +2 -4
- data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/SouthAfricaNidMatch2ProviderOutput.md +26 -0
- data/docs/SouthAfricaNidMatch2SexField.md +20 -0
- data/docs/SpidBillingInformation.md +3 -3
- data/docs/SpidProviderOutput.md +2 -2
- data/docs/SubProviderMetadata.md +4 -2
- data/docs/UAEPassProviderOutput.md +62 -0
- data/docs/UgandaNidMatch2DateOfBirthField.md +20 -0
- data/docs/UgandaNidMatch2Input.md +1 -1
- data/docs/UgandaNidMatch2NationalIdNumberField.md +20 -0
- data/docs/UgandaNidMatch2ProviderOutput.md +22 -0
- data/docs/UgandaNidMatch2SecondaryIdNumberField.md +20 -0
- data/docs/YotiDeeplinkProviderOutput.md +2 -2
- data/docs/YotiProviderOutput.md +2 -2
- data/docs/ZimbabweNidLookup2Input.md +1 -1
- data/docs/ZimbabweNidLookup2ProviderOutput.md +34 -0
- 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/{south_africa_nid_biometric2_input.rb → apple_wallet_digital_id_birth_date.rb} +21 -33
- data/lib/trinsic_api/models/apple_wallet_digital_id_credential.rb +350 -0
- data/lib/trinsic_api/models/apple_wallet_provider_output.rb +13 -18
- 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 +182 -0
- data/lib/trinsic_api/models/brazil_cnh_match_field_date_only.rb +176 -0
- data/lib/trinsic_api/models/brazil_cnh_match_field_string.rb +160 -0
- data/lib/trinsic_api/models/brazil_cnh_provider_output.rb +315 -0
- 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/clear_provider_output_address.rb +204 -0
- 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_direct_provider_session_request.rb +1 -1
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +1 -1
- data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +1 -1
- data/lib/trinsic_api/models/czech_bank_id_address.rb +248 -0
- data/lib/trinsic_api/models/czech_bank_id_card.rb +215 -0
- data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +488 -0
- data/lib/trinsic_api/models/czech_bank_id_title.rb +160 -0
- data/lib/trinsic_api/models/czech_bank_id_verification.rb +171 -0
- 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_issuer_output.rb +204 -0
- data/lib/trinsic_api/models/diia_provider_output.rb +161 -0
- data/lib/trinsic_api/models/diia_subject_output.rb +193 -0
- 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 +160 -0
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_provider_output.rb +161 -0
- 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 +160 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_national_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +260 -0
- data/lib/trinsic_api/models/indonesia_nik_match.rb +238 -0
- data/lib/trinsic_api/models/indonesia_nik_match_field.rb +160 -0
- data/lib/trinsic_api/models/interac_address.rb +193 -0
- data/lib/trinsic_api/models/interac_provider_output.rb +237 -0
- 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.rb +204 -0
- 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/itsme_provider_address.rb +200 -0
- data/lib/trinsic_api/models/itsme_provider_output.rb +202 -85
- 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 +160 -0
- data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/{kenya_nid_biometric2_input.rb → kenya_nid_match2_national_id_number_field.rb} +20 -33
- data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +183 -0
- data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +160 -0
- 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/lloyds_smart_id_provider_output.rb +8 -8
- 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/mexico_curp_provider_output.rb +126 -5
- 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_input.rb +1 -1
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +5 -53
- data/lib/trinsic_api/models/{nigeria_nin_biometric2_input.rb → nigeria_nin_lookup3_input.rb} +9 -33
- 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 +160 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_input.rb +1 -1
- data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +160 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +194 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_sex_field.rb +160 -0
- 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 +194 -0
- 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/post_office_easy_id_provider_output.rb +8 -8
- data/lib/trinsic_api/models/provider.rb +1 -57
- data/lib/trinsic_api/models/provider_input.rb +94 -31
- data/lib/trinsic_api/models/provider_output.rb +336 -17
- 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_input.rb +1 -1
- data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +249 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +160 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +160 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +6 -17
- data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +194 -0
- data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +160 -0
- 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/uae_pass_provider_output.rb +394 -0
- data/lib/trinsic_api/models/uganda_nid_match2_date_of_birth_field.rb +160 -0
- data/lib/trinsic_api/models/uganda_nid_match2_input.rb +1 -1
- data/lib/trinsic_api/models/uganda_nid_match2_national_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/uganda_nid_match2_provider_output.rb +172 -0
- data/lib/trinsic_api/models/uganda_nid_match2_secondary_id_number_field.rb +160 -0
- data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +8 -8
- data/lib/trinsic_api/models/yoti_provider_output.rb +8 -8
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_input.rb +1 -1
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +238 -0
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +105 -5
- data/spec/models/alaska_mobile_id_provider_output_spec.rb +42 -0
- data/spec/models/apple_wallet_digital_id_birth_date_spec.rb +42 -0
- data/spec/models/apple_wallet_digital_id_credential_spec.rb +144 -0
- data/spec/models/apple_wallet_provider_output_spec.rb +6 -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_cnh_facial_biometry_output_spec.rb +54 -0
- data/spec/models/brazil_cnh_match_field_date_only_spec.rb +42 -0
- data/spec/models/brazil_cnh_match_field_string_spec.rb +42 -0
- data/spec/models/brazil_cnh_provider_output_spec.rb +126 -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/clear_provider_output_address_spec.rb +66 -0
- 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/czech_bank_id_address_spec.rb +90 -0
- data/spec/models/czech_bank_id_card_spec.rb +72 -0
- data/spec/models/czech_bank_id_provider_output_spec.rb +216 -0
- data/spec/models/czech_bank_id_title_spec.rb +42 -0
- data/spec/models/{nigeria_nin_biometric2_input_spec.rb → czech_bank_id_verification_spec.rb} +9 -9
- 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/diia_issuer_output_spec.rb +66 -0
- data/spec/models/diia_provider_output_spec.rb +42 -0
- data/spec/models/diia_subject_output_spec.rb +60 -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/evrotrust_provider_output_spec.rb +216 -0
- 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/idemia_mobile_id_provider_output_spec.rb +174 -0
- data/spec/models/india_digilocker_aadhaar_match_date_of_birth_field_spec.rb +42 -0
- data/spec/models/india_digilocker_aadhaar_match_full_name_field_spec.rb +42 -0
- data/spec/models/india_digilocker_aadhaar_match_provider_output_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_date_of_birth_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_full_name_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_national_id_number_field_spec.rb +42 -0
- data/spec/models/indonesia_dukcapil_match_provider_output_spec.rb +96 -0
- data/spec/models/indonesia_nik_match_field_spec.rb +42 -0
- data/spec/models/indonesia_nik_match_spec.rb +84 -0
- data/spec/models/interac_address_spec.rb +60 -0
- data/spec/models/interac_provider_output_spec.rb +84 -0
- data/spec/models/{kenya_nid_biometric2_input_spec.rb → itsme_address_base_spec.rb} +9 -9
- data/spec/models/itsme_address_spec.rb +66 -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 +95 -5
- data/spec/models/kenya_nid_lookup3_input_spec.rb +36 -0
- data/spec/models/kenya_nid_lookup3_provider_output_spec.rb +78 -0
- data/spec/models/kenya_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_full_name_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/kenya_nid_match2_provider_output_spec.rb +54 -0
- data/spec/models/kenya_nid_match2_sex_field_spec.rb +42 -0
- data/spec/models/lloyds_smart_id_provider_output_spec.rb +1 -1
- data/spec/models/mdl_output_certificate_data_spec.rb +6 -0
- data/spec/models/mexico_curp_provider_output_spec.rb +66 -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/nigeria_nin_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_full_name_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_phone_number_field_spec.rb +42 -0
- data/spec/models/nigeria_nin_match2_provider_output_spec.rb +60 -0
- data/spec/models/nigeria_nin_match2_sex_field_spec.rb +42 -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/philippines_philsys_match_provider_output_spec.rb +60 -0
- data/spec/models/post_office_easy_id_provider_output_spec.rb +1 -1
- data/spec/models/provider_input_spec.rb +44 -8
- data/spec/models/provider_output_spec.rb +180 -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/south_africa_nid_lookup2_provider_output_spec.rb +90 -0
- data/spec/models/south_africa_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_full_name_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_input_spec.rb +0 -6
- data/spec/models/south_africa_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/south_africa_nid_match2_provider_output_spec.rb +60 -0
- data/spec/models/south_africa_nid_match2_sex_field_spec.rb +42 -0
- data/spec/models/sub_provider_metadata_spec.rb +6 -0
- data/spec/models/uae_pass_provider_output_spec.rb +168 -0
- data/spec/models/uganda_nid_match2_date_of_birth_field_spec.rb +42 -0
- data/spec/models/uganda_nid_match2_national_id_number_field_spec.rb +42 -0
- data/spec/models/{south_africa_nid_biometric2_input_spec.rb → uganda_nid_match2_provider_output_spec.rb} +9 -9
- data/spec/models/uganda_nid_match2_secondary_id_number_field_spec.rb +42 -0
- data/spec/models/yoti_deeplink_provider_output_spec.rb +1 -1
- data/spec/models/yoti_provider_output_spec.rb +1 -1
- data/spec/models/zimbabwe_nid_lookup2_provider_output_spec.rb +84 -0
- metadata +613 -213
- data/docs/KenyaNidBiometric2Input.md +0 -22
- data/docs/NigeriaNinBiometric2Input.md +0 -22
- data/docs/SouthAfricaNidBiometric2Input.md +0 -22
|
@@ -0,0 +1,315 @@
|
|
|
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-digital-cnh` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class BrazilCnhProviderOutput < ApiModelBase
|
|
19
|
+
# Full name decoded from the CNH QR Code and whether it matched the government database.
|
|
20
|
+
attr_accessor :full_name
|
|
21
|
+
|
|
22
|
+
# Similarity score for the decoded full name from the CNH QR Code. Ranges from 0.0 to 1.0, where 1.0 is an exact match.
|
|
23
|
+
attr_accessor :full_name_similarity
|
|
24
|
+
|
|
25
|
+
# Source identity document number/reference for the CNH record, decoded from the CNH QR Code.
|
|
26
|
+
attr_accessor :origin_document
|
|
27
|
+
|
|
28
|
+
# Date of birth decoded from the CNH QR Code and whether it matched the government database.
|
|
29
|
+
attr_accessor :date_of_birth
|
|
30
|
+
|
|
31
|
+
# Mother's full name decoded from the CNH QR Code.
|
|
32
|
+
attr_accessor :mother_full_name
|
|
33
|
+
|
|
34
|
+
# Father's full name decoded from the CNH QR Code.
|
|
35
|
+
attr_accessor :father_full_name
|
|
36
|
+
|
|
37
|
+
# Driver license category decoded from the CNH QR Code. Known values: - A: Two- or three-wheeled motor vehicles, with or without a sidecar. - B: Motor vehicles outside category A up to 3,500 kg, with capacity for up to eight passengers besides the driver, and without articulation or trailer. - C: Category B vehicles and rigid cargo vehicles above 3,500 kg. - D: Category C vehicles and passenger vehicles with capacity above eight passengers besides the driver. - E: Category D vehicles, trailers, semi-trailers, and articulated buses.
|
|
38
|
+
attr_accessor :category
|
|
39
|
+
|
|
40
|
+
# National Registry (Registro Nacional de Habilitacao) number decoded from the CNH QR Code and whether it matched the government database. Is an 11-character ID with the format XXXXXXXXX@@: - XXXXXXXXX: Base characters. The value is unique to the driver for their lifetime. - @@: Security check digits
|
|
41
|
+
attr_accessor :registration_number
|
|
42
|
+
|
|
43
|
+
# Whether the National Registry number satisfies the CNH modulo-11 check digit routine.
|
|
44
|
+
attr_accessor :registration_number_check_digits_valid
|
|
45
|
+
|
|
46
|
+
# Date when the driver was first licensed, decoded from the CNH QR Code.
|
|
47
|
+
attr_accessor :first_issue_date
|
|
48
|
+
|
|
49
|
+
# CNH observations decoded from the QR Code. May include EAR for paid driving activity and one or more restriction codes: - A: Corrective lenses required. - B: Hearing prosthesis required. - C: Left-side accelerator required. - D: Automatic transmission vehicle required. - E: Steering-wheel grip, handle, or knob required. - F: Power steering vehicle required. - G: Manual clutch, automated clutch, or automatic transmission vehicle required. - H: Hand accelerator and brake required. - I: Dashboard control adaptations to the steering wheel required. - J: Dashboard control adaptations for lower limbs or other body parts required. - K: Gear-shift lever extension and/or fixed height/depth compensation cushions required. - L: Pedal extensions and floor elevation and/or fixed height/depth compensation cushions required. - M: Motorcycle with adapted gear-shift pedal required. - N: Motorcycle with adapted rear-brake pedal required. - O: Motorcycle with adapted front-brake handle required. - P: Motorcycle with adapted clutch handle required. - Q: Motorcycle with sidecar or tricycle required. - R: Scooter with sidecar or tricycle required. - S: Motorcycle with automated gear shifting required. - T: Driving on highways and high-speed roads prohibited. - U: Driving after sunset prohibited. - V: Helmet with visor and unrestricted field of vision required. - X: Other restrictions.
|
|
50
|
+
attr_accessor :observations
|
|
51
|
+
|
|
52
|
+
# City where the CNH was issued, decoded from the QR Code.
|
|
53
|
+
attr_accessor :issue_city
|
|
54
|
+
|
|
55
|
+
# Brazilian state where the CNH was issued, decoded from the QR Code. Format is a two-letter Brazilian state abbreviation when present.
|
|
56
|
+
attr_accessor :issue_state
|
|
57
|
+
|
|
58
|
+
# Numeric security validation code decoded from the CNH QR Code. This is an 11-digit code generated from Departamento Estadual de Trânsito (State Traffic Department or DETRAN) owned data for each CNH and used to validate the document. The algorithm is proprietary, so no further information is available on this number.
|
|
59
|
+
attr_accessor :validation_number
|
|
60
|
+
|
|
61
|
+
# Registro Nacional de Condutores Habilitados (RENACH) form number decoded from the CNH QR Code. Is an 11-character ID with the format FFXXXXXXXX@: - FF: The issuing federation unit abbreviation. It identifies the state where the driver was licensed or last had record changes. - XXXXXXXXX: Serial number - @: Modulo-11 security check digit
|
|
62
|
+
attr_accessor :renach_number
|
|
63
|
+
|
|
64
|
+
# Facial biometric comparison result if submitted and available.
|
|
65
|
+
attr_accessor :facial_biometry
|
|
66
|
+
|
|
67
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
68
|
+
def self.attribute_map
|
|
69
|
+
{
|
|
70
|
+
:'full_name' => :'fullName',
|
|
71
|
+
:'full_name_similarity' => :'fullNameSimilarity',
|
|
72
|
+
:'origin_document' => :'originDocument',
|
|
73
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
74
|
+
:'mother_full_name' => :'motherFullName',
|
|
75
|
+
:'father_full_name' => :'fatherFullName',
|
|
76
|
+
:'category' => :'category',
|
|
77
|
+
:'registration_number' => :'registrationNumber',
|
|
78
|
+
:'registration_number_check_digits_valid' => :'registrationNumberCheckDigitsValid',
|
|
79
|
+
:'first_issue_date' => :'firstIssueDate',
|
|
80
|
+
:'observations' => :'observations',
|
|
81
|
+
:'issue_city' => :'issueCity',
|
|
82
|
+
:'issue_state' => :'issueState',
|
|
83
|
+
:'validation_number' => :'validationNumber',
|
|
84
|
+
:'renach_number' => :'renachNumber',
|
|
85
|
+
:'facial_biometry' => :'facialBiometry'
|
|
86
|
+
}
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# Returns attribute mapping this model knows about
|
|
90
|
+
def self.acceptable_attribute_map
|
|
91
|
+
attribute_map
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# Returns all the JSON keys this model knows about
|
|
95
|
+
def self.acceptable_attributes
|
|
96
|
+
acceptable_attribute_map.values
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Attribute type mapping.
|
|
100
|
+
def self.openapi_types
|
|
101
|
+
{
|
|
102
|
+
:'full_name' => :'BrazilCnhMatchFieldString',
|
|
103
|
+
:'full_name_similarity' => :'Float',
|
|
104
|
+
:'origin_document' => :'String',
|
|
105
|
+
:'date_of_birth' => :'BrazilCnhMatchFieldDateOnly',
|
|
106
|
+
:'mother_full_name' => :'String',
|
|
107
|
+
:'father_full_name' => :'String',
|
|
108
|
+
:'category' => :'String',
|
|
109
|
+
:'registration_number' => :'BrazilCnhMatchFieldString',
|
|
110
|
+
:'registration_number_check_digits_valid' => :'Boolean',
|
|
111
|
+
:'first_issue_date' => :'Date',
|
|
112
|
+
:'observations' => :'String',
|
|
113
|
+
:'issue_city' => :'String',
|
|
114
|
+
:'issue_state' => :'String',
|
|
115
|
+
:'validation_number' => :'String',
|
|
116
|
+
:'renach_number' => :'String',
|
|
117
|
+
:'facial_biometry' => :'BrazilCnhFacialBiometryOutput'
|
|
118
|
+
}
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# List of attributes with nullable: true
|
|
122
|
+
def self.openapi_nullable
|
|
123
|
+
Set.new([
|
|
124
|
+
:'full_name',
|
|
125
|
+
:'full_name_similarity',
|
|
126
|
+
:'origin_document',
|
|
127
|
+
:'date_of_birth',
|
|
128
|
+
:'mother_full_name',
|
|
129
|
+
:'father_full_name',
|
|
130
|
+
:'category',
|
|
131
|
+
:'registration_number',
|
|
132
|
+
:'registration_number_check_digits_valid',
|
|
133
|
+
:'first_issue_date',
|
|
134
|
+
:'observations',
|
|
135
|
+
:'issue_city',
|
|
136
|
+
:'issue_state',
|
|
137
|
+
:'validation_number',
|
|
138
|
+
:'renach_number',
|
|
139
|
+
:'facial_biometry'
|
|
140
|
+
])
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Initializes the object
|
|
144
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
145
|
+
def initialize(attributes = {})
|
|
146
|
+
if (!attributes.is_a?(Hash))
|
|
147
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::BrazilCnhProviderOutput` initialize method"
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
151
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
152
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
153
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
154
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::BrazilCnhProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
155
|
+
end
|
|
156
|
+
h[k.to_sym] = v
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if attributes.key?(:'full_name')
|
|
160
|
+
self.full_name = attributes[:'full_name']
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
if attributes.key?(:'full_name_similarity')
|
|
164
|
+
self.full_name_similarity = attributes[:'full_name_similarity']
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
if attributes.key?(:'origin_document')
|
|
168
|
+
self.origin_document = attributes[:'origin_document']
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
if attributes.key?(:'date_of_birth')
|
|
172
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
if attributes.key?(:'mother_full_name')
|
|
176
|
+
self.mother_full_name = attributes[:'mother_full_name']
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
if attributes.key?(:'father_full_name')
|
|
180
|
+
self.father_full_name = attributes[:'father_full_name']
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
if attributes.key?(:'category')
|
|
184
|
+
self.category = attributes[:'category']
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
if attributes.key?(:'registration_number')
|
|
188
|
+
self.registration_number = attributes[:'registration_number']
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
if attributes.key?(:'registration_number_check_digits_valid')
|
|
192
|
+
self.registration_number_check_digits_valid = attributes[:'registration_number_check_digits_valid']
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
if attributes.key?(:'first_issue_date')
|
|
196
|
+
self.first_issue_date = attributes[:'first_issue_date']
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
if attributes.key?(:'observations')
|
|
200
|
+
self.observations = attributes[:'observations']
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
if attributes.key?(:'issue_city')
|
|
204
|
+
self.issue_city = attributes[:'issue_city']
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
if attributes.key?(:'issue_state')
|
|
208
|
+
self.issue_state = attributes[:'issue_state']
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if attributes.key?(:'validation_number')
|
|
212
|
+
self.validation_number = attributes[:'validation_number']
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
if attributes.key?(:'renach_number')
|
|
216
|
+
self.renach_number = attributes[:'renach_number']
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
if attributes.key?(:'facial_biometry')
|
|
220
|
+
self.facial_biometry = attributes[:'facial_biometry']
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
225
|
+
# @return Array for valid properties with the reasons
|
|
226
|
+
def list_invalid_properties
|
|
227
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
228
|
+
invalid_properties = Array.new
|
|
229
|
+
invalid_properties
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# Check to see if the all the properties in the model are valid
|
|
233
|
+
# @return true if the model is valid
|
|
234
|
+
def valid?
|
|
235
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
236
|
+
true
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
# Checks equality by comparing each attribute.
|
|
240
|
+
# @param [Object] Object to be compared
|
|
241
|
+
def ==(o)
|
|
242
|
+
return true if self.equal?(o)
|
|
243
|
+
self.class == o.class &&
|
|
244
|
+
full_name == o.full_name &&
|
|
245
|
+
full_name_similarity == o.full_name_similarity &&
|
|
246
|
+
origin_document == o.origin_document &&
|
|
247
|
+
date_of_birth == o.date_of_birth &&
|
|
248
|
+
mother_full_name == o.mother_full_name &&
|
|
249
|
+
father_full_name == o.father_full_name &&
|
|
250
|
+
category == o.category &&
|
|
251
|
+
registration_number == o.registration_number &&
|
|
252
|
+
registration_number_check_digits_valid == o.registration_number_check_digits_valid &&
|
|
253
|
+
first_issue_date == o.first_issue_date &&
|
|
254
|
+
observations == o.observations &&
|
|
255
|
+
issue_city == o.issue_city &&
|
|
256
|
+
issue_state == o.issue_state &&
|
|
257
|
+
validation_number == o.validation_number &&
|
|
258
|
+
renach_number == o.renach_number &&
|
|
259
|
+
facial_biometry == o.facial_biometry
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# @see the `==` method
|
|
263
|
+
# @param [Object] Object to be compared
|
|
264
|
+
def eql?(o)
|
|
265
|
+
self == o
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
# Calculates hash code according to all attributes.
|
|
269
|
+
# @return [Integer] Hash code
|
|
270
|
+
def hash
|
|
271
|
+
[full_name, full_name_similarity, origin_document, date_of_birth, mother_full_name, father_full_name, category, registration_number, registration_number_check_digits_valid, first_issue_date, observations, issue_city, issue_state, validation_number, renach_number, facial_biometry].hash
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# Builds the object from hash
|
|
275
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
276
|
+
# @return [Object] Returns the model itself
|
|
277
|
+
def self.build_from_hash(attributes)
|
|
278
|
+
return nil unless attributes.is_a?(Hash)
|
|
279
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
280
|
+
transformed_hash = {}
|
|
281
|
+
openapi_types.each_pair do |key, type|
|
|
282
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
283
|
+
transformed_hash["#{key}"] = nil
|
|
284
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
285
|
+
# check to ensure the input is an array given that the attribute
|
|
286
|
+
# is documented as an array but the input is not
|
|
287
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
288
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
289
|
+
end
|
|
290
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
291
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
new(transformed_hash)
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
# Returns the object in the form of hash
|
|
298
|
+
# @return [Hash] Returns the object in the form of hash
|
|
299
|
+
def to_hash
|
|
300
|
+
hash = {}
|
|
301
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
302
|
+
value = self.send(attr)
|
|
303
|
+
if value.nil?
|
|
304
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
305
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
hash[param] = _to_hash(value)
|
|
309
|
+
end
|
|
310
|
+
hash
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
end
|
|
@@ -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
|