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
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|
|
@@ -66,6 +66,8 @@ module TrinsicApi
|
|
|
66
66
|
# List of attributes with nullable: true
|
|
67
67
|
def self.openapi_nullable
|
|
68
68
|
Set.new([
|
|
69
|
+
:'national_id_number',
|
|
70
|
+
:'full_name',
|
|
69
71
|
:'date_of_birth',
|
|
70
72
|
:'sex',
|
|
71
73
|
:'phone_number'
|
|
@@ -90,14 +92,10 @@ module TrinsicApi
|
|
|
90
92
|
|
|
91
93
|
if attributes.key?(:'national_id_number')
|
|
92
94
|
self.national_id_number = attributes[:'national_id_number']
|
|
93
|
-
else
|
|
94
|
-
self.national_id_number = nil
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
if attributes.key?(:'full_name')
|
|
98
98
|
self.full_name = attributes[:'full_name']
|
|
99
|
-
else
|
|
100
|
-
self.full_name = nil
|
|
101
99
|
end
|
|
102
100
|
|
|
103
101
|
if attributes.key?(:'date_of_birth')
|
|
@@ -118,14 +116,6 @@ module TrinsicApi
|
|
|
118
116
|
def list_invalid_properties
|
|
119
117
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
120
118
|
invalid_properties = Array.new
|
|
121
|
-
if @national_id_number.nil?
|
|
122
|
-
invalid_properties.push('invalid value for "national_id_number", national_id_number cannot be nil.')
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if @full_name.nil?
|
|
126
|
-
invalid_properties.push('invalid value for "full_name", full_name cannot be nil.')
|
|
127
|
-
end
|
|
128
|
-
|
|
129
119
|
invalid_properties
|
|
130
120
|
end
|
|
131
121
|
|
|
@@ -133,31 +123,9 @@ module TrinsicApi
|
|
|
133
123
|
# @return true if the model is valid
|
|
134
124
|
def valid?
|
|
135
125
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
136
|
-
return false if @national_id_number.nil?
|
|
137
|
-
return false if @full_name.nil?
|
|
138
126
|
true
|
|
139
127
|
end
|
|
140
128
|
|
|
141
|
-
# Custom attribute writer method with validation
|
|
142
|
-
# @param [Object] national_id_number Value to be assigned
|
|
143
|
-
def national_id_number=(national_id_number)
|
|
144
|
-
if national_id_number.nil?
|
|
145
|
-
fail ArgumentError, 'national_id_number cannot be nil'
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
@national_id_number = national_id_number
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
# Custom attribute writer method with validation
|
|
152
|
-
# @param [Object] full_name Value to be assigned
|
|
153
|
-
def full_name=(full_name)
|
|
154
|
-
if full_name.nil?
|
|
155
|
-
fail ArgumentError, 'full_name cannot be nil'
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
@full_name = full_name
|
|
159
|
-
end
|
|
160
|
-
|
|
161
129
|
# Checks equality by comparing each attribute.
|
|
162
130
|
# @param [Object] Object to be compared
|
|
163
131
|
def ==(o)
|
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|
|
@@ -18,14 +18,10 @@ module TrinsicApi
|
|
|
18
18
|
# The number from the holder's cédula (Cédula de Identidad Personal). Send the full number as {firstSegment}-{libro}-{tomo} (libro 1–4 digits, tomo 1–6), using only ASCII letters, digits, and hyphens. Hyphens are not inserted for you between segments. Trinsic uppercases letters, collapses repeated hyphens, trims leading and trailing hyphens, and merges a redundant hyphen between province and AV or PI (for example 10-AV-1234-12345 becomes 10AV-1234-12345). Citizen category and format: - Born in Panama format: {province}-{libro}-{tomo} ({province} is official code 1 through 13). Examples 8-1234-12345, 4-56-789, 12-12-12345. - Panamanian born abroad format: PE-{libro}-{tomo}. Example PE-1234-12345. - Foreign national with cédula format: E-{libro}-{tomo}. Examples E-1234-12345, E-8-102017. - Naturalized citizen format: N-{libro}-{tomo}. Example N-1234-12345. - Pre-2006 civil registry (AV) format: {province}AV-{libro}-{tomo}. Example 10AV-1234-12345. - Indigenous (PI) format: {province}PI-{libro}-{tomo}. Example 1PI-1234-12345.
|
|
19
19
|
attr_accessor :document_number
|
|
20
20
|
|
|
21
|
-
# The user's date of birth, in `YYYY-MM-DD` format.
|
|
22
|
-
attr_accessor :date_of_birth
|
|
23
|
-
|
|
24
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
22
|
def self.attribute_map
|
|
26
23
|
{
|
|
27
|
-
:'document_number' => :'documentNumber'
|
|
28
|
-
:'date_of_birth' => :'dateOfBirth'
|
|
24
|
+
:'document_number' => :'documentNumber'
|
|
29
25
|
}
|
|
30
26
|
end
|
|
31
27
|
|
|
@@ -42,16 +38,14 @@ module TrinsicApi
|
|
|
42
38
|
# Attribute type mapping.
|
|
43
39
|
def self.openapi_types
|
|
44
40
|
{
|
|
45
|
-
:'document_number' => :'String'
|
|
46
|
-
:'date_of_birth' => :'Date'
|
|
41
|
+
:'document_number' => :'String'
|
|
47
42
|
}
|
|
48
43
|
end
|
|
49
44
|
|
|
50
45
|
# List of attributes with nullable: true
|
|
51
46
|
def self.openapi_nullable
|
|
52
47
|
Set.new([
|
|
53
|
-
:'document_number'
|
|
54
|
-
:'date_of_birth'
|
|
48
|
+
:'document_number'
|
|
55
49
|
])
|
|
56
50
|
end
|
|
57
51
|
|
|
@@ -74,10 +68,6 @@ module TrinsicApi
|
|
|
74
68
|
if attributes.key?(:'document_number')
|
|
75
69
|
self.document_number = attributes[:'document_number']
|
|
76
70
|
end
|
|
77
|
-
|
|
78
|
-
if attributes.key?(:'date_of_birth')
|
|
79
|
-
self.date_of_birth = attributes[:'date_of_birth']
|
|
80
|
-
end
|
|
81
71
|
end
|
|
82
72
|
|
|
83
73
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -100,8 +90,7 @@ module TrinsicApi
|
|
|
100
90
|
def ==(o)
|
|
101
91
|
return true if self.equal?(o)
|
|
102
92
|
self.class == o.class &&
|
|
103
|
-
document_number == o.document_number
|
|
104
|
-
date_of_birth == o.date_of_birth
|
|
93
|
+
document_number == o.document_number
|
|
105
94
|
end
|
|
106
95
|
|
|
107
96
|
# @see the `==` method
|
|
@@ -113,7 +102,7 @@ module TrinsicApi
|
|
|
113
102
|
# Calculates hash code according to all attributes.
|
|
114
103
|
# @return [Integer] Hash code
|
|
115
104
|
def hash
|
|
116
|
-
[document_number
|
|
105
|
+
[document_number].hash
|
|
117
106
|
end
|
|
118
107
|
|
|
119
108
|
# Builds the object from hash
|
|
@@ -25,9 +25,6 @@ module TrinsicApi
|
|
|
25
25
|
# Family name(s) from Tribunal Electoral records.
|
|
26
26
|
attr_accessor :family_name
|
|
27
27
|
|
|
28
|
-
# Verified date of birth from Tribunal Electoral records.
|
|
29
|
-
attr_accessor :date_of_birth
|
|
30
|
-
|
|
31
28
|
# The matched personal identity cédula (Cédula de Identidad Personal) number from Tribunal Electoral records. On output, Trinsic applies the same normalization as for lookup input. Structure is always {firstSegment}-{libro}-{tomo}: libro is one to four digits and tomo is one to six digits, separated by hyphens. Citizen category and format: - Born in Panama format: {province}-{libro}-{tomo} ({province} is official code 1 through 13). Examples 8-1234-12345, 4-56-789, 12-12-12345. - Panamanian born abroad format: PE-{libro}-{tomo}. Example PE-1234-12345. - Foreign national with cédula format: E-{libro}-{tomo}. Examples E-1234-12345, E-8-102017. - Naturalized citizen format: N-{libro}-{tomo}. Example N-1234-12345. - Pre-2006 civil registry (AV) format: {province}AV-{libro}-{tomo}. Example 10AV-1234-12345. - Indigenous (PI) format: {province}PI-{libro}-{tomo}. Example 1PI-1234-12345.
|
|
32
29
|
attr_accessor :document_number
|
|
33
30
|
|
|
@@ -46,7 +43,6 @@ module TrinsicApi
|
|
|
46
43
|
:'full_name' => :'fullName',
|
|
47
44
|
:'given_name' => :'givenName',
|
|
48
45
|
:'family_name' => :'familyName',
|
|
49
|
-
:'date_of_birth' => :'dateOfBirth',
|
|
50
46
|
:'document_number' => :'documentNumber',
|
|
51
47
|
:'nationality_or_residence_type' => :'nationalityOrResidenceType',
|
|
52
48
|
:'subdivision_of_origin' => :'subdivisionOfOrigin',
|
|
@@ -70,7 +66,6 @@ module TrinsicApi
|
|
|
70
66
|
:'full_name' => :'String',
|
|
71
67
|
:'given_name' => :'String',
|
|
72
68
|
:'family_name' => :'String',
|
|
73
|
-
:'date_of_birth' => :'Date',
|
|
74
69
|
:'document_number' => :'String',
|
|
75
70
|
:'nationality_or_residence_type' => :'String',
|
|
76
71
|
:'subdivision_of_origin' => :'String',
|
|
@@ -81,7 +76,11 @@ module TrinsicApi
|
|
|
81
76
|
# List of attributes with nullable: true
|
|
82
77
|
def self.openapi_nullable
|
|
83
78
|
Set.new([
|
|
84
|
-
:'
|
|
79
|
+
:'full_name',
|
|
80
|
+
:'given_name',
|
|
81
|
+
:'family_name',
|
|
82
|
+
:'document_number',
|
|
83
|
+
:'nationality_or_residence_type',
|
|
85
84
|
:'subdivision_of_origin',
|
|
86
85
|
:'subdivision_of_origin_name'
|
|
87
86
|
])
|
|
@@ -105,36 +104,22 @@ module TrinsicApi
|
|
|
105
104
|
|
|
106
105
|
if attributes.key?(:'full_name')
|
|
107
106
|
self.full_name = attributes[:'full_name']
|
|
108
|
-
else
|
|
109
|
-
self.full_name = nil
|
|
110
107
|
end
|
|
111
108
|
|
|
112
109
|
if attributes.key?(:'given_name')
|
|
113
110
|
self.given_name = attributes[:'given_name']
|
|
114
|
-
else
|
|
115
|
-
self.given_name = nil
|
|
116
111
|
end
|
|
117
112
|
|
|
118
113
|
if attributes.key?(:'family_name')
|
|
119
114
|
self.family_name = attributes[:'family_name']
|
|
120
|
-
else
|
|
121
|
-
self.family_name = nil
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
if attributes.key?(:'date_of_birth')
|
|
125
|
-
self.date_of_birth = attributes[:'date_of_birth']
|
|
126
115
|
end
|
|
127
116
|
|
|
128
117
|
if attributes.key?(:'document_number')
|
|
129
118
|
self.document_number = attributes[:'document_number']
|
|
130
|
-
else
|
|
131
|
-
self.document_number = nil
|
|
132
119
|
end
|
|
133
120
|
|
|
134
121
|
if attributes.key?(:'nationality_or_residence_type')
|
|
135
122
|
self.nationality_or_residence_type = attributes[:'nationality_or_residence_type']
|
|
136
|
-
else
|
|
137
|
-
self.nationality_or_residence_type = nil
|
|
138
123
|
end
|
|
139
124
|
|
|
140
125
|
if attributes.key?(:'subdivision_of_origin')
|
|
@@ -151,26 +136,6 @@ module TrinsicApi
|
|
|
151
136
|
def list_invalid_properties
|
|
152
137
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
153
138
|
invalid_properties = Array.new
|
|
154
|
-
if @full_name.nil?
|
|
155
|
-
invalid_properties.push('invalid value for "full_name", full_name cannot be nil.')
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
if @given_name.nil?
|
|
159
|
-
invalid_properties.push('invalid value for "given_name", given_name cannot be nil.')
|
|
160
|
-
end
|
|
161
|
-
|
|
162
|
-
if @family_name.nil?
|
|
163
|
-
invalid_properties.push('invalid value for "family_name", family_name cannot be nil.')
|
|
164
|
-
end
|
|
165
|
-
|
|
166
|
-
if @document_number.nil?
|
|
167
|
-
invalid_properties.push('invalid value for "document_number", document_number cannot be nil.')
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
if @nationality_or_residence_type.nil?
|
|
171
|
-
invalid_properties.push('invalid value for "nationality_or_residence_type", nationality_or_residence_type cannot be nil.')
|
|
172
|
-
end
|
|
173
|
-
|
|
174
139
|
invalid_properties
|
|
175
140
|
end
|
|
176
141
|
|
|
@@ -178,64 +143,9 @@ module TrinsicApi
|
|
|
178
143
|
# @return true if the model is valid
|
|
179
144
|
def valid?
|
|
180
145
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
181
|
-
return false if @full_name.nil?
|
|
182
|
-
return false if @given_name.nil?
|
|
183
|
-
return false if @family_name.nil?
|
|
184
|
-
return false if @document_number.nil?
|
|
185
|
-
return false if @nationality_or_residence_type.nil?
|
|
186
146
|
true
|
|
187
147
|
end
|
|
188
148
|
|
|
189
|
-
# Custom attribute writer method with validation
|
|
190
|
-
# @param [Object] full_name Value to be assigned
|
|
191
|
-
def full_name=(full_name)
|
|
192
|
-
if full_name.nil?
|
|
193
|
-
fail ArgumentError, 'full_name cannot be nil'
|
|
194
|
-
end
|
|
195
|
-
|
|
196
|
-
@full_name = full_name
|
|
197
|
-
end
|
|
198
|
-
|
|
199
|
-
# Custom attribute writer method with validation
|
|
200
|
-
# @param [Object] given_name Value to be assigned
|
|
201
|
-
def given_name=(given_name)
|
|
202
|
-
if given_name.nil?
|
|
203
|
-
fail ArgumentError, 'given_name cannot be nil'
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
@given_name = given_name
|
|
207
|
-
end
|
|
208
|
-
|
|
209
|
-
# Custom attribute writer method with validation
|
|
210
|
-
# @param [Object] family_name Value to be assigned
|
|
211
|
-
def family_name=(family_name)
|
|
212
|
-
if family_name.nil?
|
|
213
|
-
fail ArgumentError, 'family_name cannot be nil'
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
@family_name = family_name
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
# Custom attribute writer method with validation
|
|
220
|
-
# @param [Object] document_number Value to be assigned
|
|
221
|
-
def document_number=(document_number)
|
|
222
|
-
if document_number.nil?
|
|
223
|
-
fail ArgumentError, 'document_number cannot be nil'
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
@document_number = document_number
|
|
227
|
-
end
|
|
228
|
-
|
|
229
|
-
# Custom attribute writer method with validation
|
|
230
|
-
# @param [Object] nationality_or_residence_type Value to be assigned
|
|
231
|
-
def nationality_or_residence_type=(nationality_or_residence_type)
|
|
232
|
-
if nationality_or_residence_type.nil?
|
|
233
|
-
fail ArgumentError, 'nationality_or_residence_type cannot be nil'
|
|
234
|
-
end
|
|
235
|
-
|
|
236
|
-
@nationality_or_residence_type = nationality_or_residence_type
|
|
237
|
-
end
|
|
238
|
-
|
|
239
149
|
# Checks equality by comparing each attribute.
|
|
240
150
|
# @param [Object] Object to be compared
|
|
241
151
|
def ==(o)
|
|
@@ -244,7 +154,6 @@ module TrinsicApi
|
|
|
244
154
|
full_name == o.full_name &&
|
|
245
155
|
given_name == o.given_name &&
|
|
246
156
|
family_name == o.family_name &&
|
|
247
|
-
date_of_birth == o.date_of_birth &&
|
|
248
157
|
document_number == o.document_number &&
|
|
249
158
|
nationality_or_residence_type == o.nationality_or_residence_type &&
|
|
250
159
|
subdivision_of_origin == o.subdivision_of_origin &&
|
|
@@ -260,7 +169,7 @@ module TrinsicApi
|
|
|
260
169
|
# Calculates hash code according to all attributes.
|
|
261
170
|
# @return [Integer] Hash code
|
|
262
171
|
def hash
|
|
263
|
-
[full_name, given_name, family_name,
|
|
172
|
+
[full_name, given_name, family_name, document_number, nationality_or_residence_type, subdivision_of_origin, subdivision_of_origin_name].hash
|
|
264
173
|
end
|
|
265
174
|
|
|
266
175
|
# Builds the object from hash
|
|
@@ -56,6 +56,9 @@ module TrinsicApi
|
|
|
56
56
|
# List of attributes with nullable: true
|
|
57
57
|
def self.openapi_nullable
|
|
58
58
|
Set.new([
|
|
59
|
+
:'region',
|
|
60
|
+
:'province',
|
|
61
|
+
:'district'
|
|
59
62
|
])
|
|
60
63
|
end
|
|
61
64
|
|
|
@@ -77,20 +80,14 @@ module TrinsicApi
|
|
|
77
80
|
|
|
78
81
|
if attributes.key?(:'region')
|
|
79
82
|
self.region = attributes[:'region']
|
|
80
|
-
else
|
|
81
|
-
self.region = nil
|
|
82
83
|
end
|
|
83
84
|
|
|
84
85
|
if attributes.key?(:'province')
|
|
85
86
|
self.province = attributes[:'province']
|
|
86
|
-
else
|
|
87
|
-
self.province = nil
|
|
88
87
|
end
|
|
89
88
|
|
|
90
89
|
if attributes.key?(:'district')
|
|
91
90
|
self.district = attributes[:'district']
|
|
92
|
-
else
|
|
93
|
-
self.district = nil
|
|
94
91
|
end
|
|
95
92
|
end
|
|
96
93
|
|
|
@@ -99,18 +96,6 @@ module TrinsicApi
|
|
|
99
96
|
def list_invalid_properties
|
|
100
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
101
98
|
invalid_properties = Array.new
|
|
102
|
-
if @region.nil?
|
|
103
|
-
invalid_properties.push('invalid value for "region", region cannot be nil.')
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if @province.nil?
|
|
107
|
-
invalid_properties.push('invalid value for "province", province cannot be nil.')
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if @district.nil?
|
|
111
|
-
invalid_properties.push('invalid value for "district", district cannot be nil.')
|
|
112
|
-
end
|
|
113
|
-
|
|
114
99
|
invalid_properties
|
|
115
100
|
end
|
|
116
101
|
|
|
@@ -118,42 +103,9 @@ module TrinsicApi
|
|
|
118
103
|
# @return true if the model is valid
|
|
119
104
|
def valid?
|
|
120
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
121
|
-
return false if @region.nil?
|
|
122
|
-
return false if @province.nil?
|
|
123
|
-
return false if @district.nil?
|
|
124
106
|
true
|
|
125
107
|
end
|
|
126
108
|
|
|
127
|
-
# Custom attribute writer method with validation
|
|
128
|
-
# @param [Object] region Value to be assigned
|
|
129
|
-
def region=(region)
|
|
130
|
-
if region.nil?
|
|
131
|
-
fail ArgumentError, 'region cannot be nil'
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
@region = region
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] province Value to be assigned
|
|
139
|
-
def province=(province)
|
|
140
|
-
if province.nil?
|
|
141
|
-
fail ArgumentError, 'province cannot be nil'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
@province = province
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] district Value to be assigned
|
|
149
|
-
def district=(district)
|
|
150
|
-
if district.nil?
|
|
151
|
-
fail ArgumentError, 'district cannot be nil'
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@district = district
|
|
155
|
-
end
|
|
156
|
-
|
|
157
109
|
# Checks equality by comparing each attribute.
|
|
158
110
|
# @param [Object] Object to be compared
|
|
159
111
|
def ==(o)
|