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
|
@@ -122,10 +122,18 @@ module TrinsicApi
|
|
|
122
122
|
def self.openapi_nullable
|
|
123
123
|
Set.new([
|
|
124
124
|
:'address',
|
|
125
|
+
:'array_name',
|
|
125
126
|
:'civil_status',
|
|
126
127
|
:'date_of_birth',
|
|
128
|
+
:'document_number',
|
|
129
|
+
:'document_type',
|
|
127
130
|
:'expedition_date',
|
|
128
131
|
:'expiration_date',
|
|
132
|
+
:'first_name',
|
|
133
|
+
:'full_name',
|
|
134
|
+
:'last_name',
|
|
135
|
+
:'maternal_last_name',
|
|
136
|
+
:'paternal_last_name',
|
|
129
137
|
:'sex',
|
|
130
138
|
:'ubigeo_reniec',
|
|
131
139
|
:'verification_digit'
|
|
@@ -156,8 +164,6 @@ module TrinsicApi
|
|
|
156
164
|
if (value = attributes[:'array_name']).is_a?(Array)
|
|
157
165
|
self.array_name = value
|
|
158
166
|
end
|
|
159
|
-
else
|
|
160
|
-
self.array_name = nil
|
|
161
167
|
end
|
|
162
168
|
|
|
163
169
|
if attributes.key?(:'civil_status')
|
|
@@ -170,14 +176,10 @@ module TrinsicApi
|
|
|
170
176
|
|
|
171
177
|
if attributes.key?(:'document_number')
|
|
172
178
|
self.document_number = attributes[:'document_number']
|
|
173
|
-
else
|
|
174
|
-
self.document_number = nil
|
|
175
179
|
end
|
|
176
180
|
|
|
177
181
|
if attributes.key?(:'document_type')
|
|
178
182
|
self.document_type = attributes[:'document_type']
|
|
179
|
-
else
|
|
180
|
-
self.document_type = nil
|
|
181
183
|
end
|
|
182
184
|
|
|
183
185
|
if attributes.key?(:'expedition_date')
|
|
@@ -190,32 +192,22 @@ module TrinsicApi
|
|
|
190
192
|
|
|
191
193
|
if attributes.key?(:'first_name')
|
|
192
194
|
self.first_name = attributes[:'first_name']
|
|
193
|
-
else
|
|
194
|
-
self.first_name = nil
|
|
195
195
|
end
|
|
196
196
|
|
|
197
197
|
if attributes.key?(:'full_name')
|
|
198
198
|
self.full_name = attributes[:'full_name']
|
|
199
|
-
else
|
|
200
|
-
self.full_name = nil
|
|
201
199
|
end
|
|
202
200
|
|
|
203
201
|
if attributes.key?(:'last_name')
|
|
204
202
|
self.last_name = attributes[:'last_name']
|
|
205
|
-
else
|
|
206
|
-
self.last_name = nil
|
|
207
203
|
end
|
|
208
204
|
|
|
209
205
|
if attributes.key?(:'maternal_last_name')
|
|
210
206
|
self.maternal_last_name = attributes[:'maternal_last_name']
|
|
211
|
-
else
|
|
212
|
-
self.maternal_last_name = nil
|
|
213
207
|
end
|
|
214
208
|
|
|
215
209
|
if attributes.key?(:'paternal_last_name')
|
|
216
210
|
self.paternal_last_name = attributes[:'paternal_last_name']
|
|
217
|
-
else
|
|
218
|
-
self.paternal_last_name = nil
|
|
219
211
|
end
|
|
220
212
|
|
|
221
213
|
if attributes.key?(:'sex')
|
|
@@ -236,38 +228,6 @@ module TrinsicApi
|
|
|
236
228
|
def list_invalid_properties
|
|
237
229
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
238
230
|
invalid_properties = Array.new
|
|
239
|
-
if @array_name.nil?
|
|
240
|
-
invalid_properties.push('invalid value for "array_name", array_name cannot be nil.')
|
|
241
|
-
end
|
|
242
|
-
|
|
243
|
-
if @document_number.nil?
|
|
244
|
-
invalid_properties.push('invalid value for "document_number", document_number cannot be nil.')
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
if @document_type.nil?
|
|
248
|
-
invalid_properties.push('invalid value for "document_type", document_type cannot be nil.')
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
if @first_name.nil?
|
|
252
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
if @full_name.nil?
|
|
256
|
-
invalid_properties.push('invalid value for "full_name", full_name cannot be nil.')
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
if @last_name.nil?
|
|
260
|
-
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
|
261
|
-
end
|
|
262
|
-
|
|
263
|
-
if @maternal_last_name.nil?
|
|
264
|
-
invalid_properties.push('invalid value for "maternal_last_name", maternal_last_name cannot be nil.')
|
|
265
|
-
end
|
|
266
|
-
|
|
267
|
-
if @paternal_last_name.nil?
|
|
268
|
-
invalid_properties.push('invalid value for "paternal_last_name", paternal_last_name cannot be nil.')
|
|
269
|
-
end
|
|
270
|
-
|
|
271
231
|
invalid_properties
|
|
272
232
|
end
|
|
273
233
|
|
|
@@ -275,97 +235,9 @@ module TrinsicApi
|
|
|
275
235
|
# @return true if the model is valid
|
|
276
236
|
def valid?
|
|
277
237
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
278
|
-
return false if @array_name.nil?
|
|
279
|
-
return false if @document_number.nil?
|
|
280
|
-
return false if @document_type.nil?
|
|
281
|
-
return false if @first_name.nil?
|
|
282
|
-
return false if @full_name.nil?
|
|
283
|
-
return false if @last_name.nil?
|
|
284
|
-
return false if @maternal_last_name.nil?
|
|
285
|
-
return false if @paternal_last_name.nil?
|
|
286
238
|
true
|
|
287
239
|
end
|
|
288
240
|
|
|
289
|
-
# Custom attribute writer method with validation
|
|
290
|
-
# @param [Object] array_name Value to be assigned
|
|
291
|
-
def array_name=(array_name)
|
|
292
|
-
if array_name.nil?
|
|
293
|
-
fail ArgumentError, 'array_name cannot be nil'
|
|
294
|
-
end
|
|
295
|
-
|
|
296
|
-
@array_name = array_name
|
|
297
|
-
end
|
|
298
|
-
|
|
299
|
-
# Custom attribute writer method with validation
|
|
300
|
-
# @param [Object] document_number Value to be assigned
|
|
301
|
-
def document_number=(document_number)
|
|
302
|
-
if document_number.nil?
|
|
303
|
-
fail ArgumentError, 'document_number cannot be nil'
|
|
304
|
-
end
|
|
305
|
-
|
|
306
|
-
@document_number = document_number
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
# Custom attribute writer method with validation
|
|
310
|
-
# @param [Object] document_type Value to be assigned
|
|
311
|
-
def document_type=(document_type)
|
|
312
|
-
if document_type.nil?
|
|
313
|
-
fail ArgumentError, 'document_type cannot be nil'
|
|
314
|
-
end
|
|
315
|
-
|
|
316
|
-
@document_type = document_type
|
|
317
|
-
end
|
|
318
|
-
|
|
319
|
-
# Custom attribute writer method with validation
|
|
320
|
-
# @param [Object] first_name Value to be assigned
|
|
321
|
-
def first_name=(first_name)
|
|
322
|
-
if first_name.nil?
|
|
323
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
324
|
-
end
|
|
325
|
-
|
|
326
|
-
@first_name = first_name
|
|
327
|
-
end
|
|
328
|
-
|
|
329
|
-
# Custom attribute writer method with validation
|
|
330
|
-
# @param [Object] full_name Value to be assigned
|
|
331
|
-
def full_name=(full_name)
|
|
332
|
-
if full_name.nil?
|
|
333
|
-
fail ArgumentError, 'full_name cannot be nil'
|
|
334
|
-
end
|
|
335
|
-
|
|
336
|
-
@full_name = full_name
|
|
337
|
-
end
|
|
338
|
-
|
|
339
|
-
# Custom attribute writer method with validation
|
|
340
|
-
# @param [Object] last_name Value to be assigned
|
|
341
|
-
def last_name=(last_name)
|
|
342
|
-
if last_name.nil?
|
|
343
|
-
fail ArgumentError, 'last_name cannot be nil'
|
|
344
|
-
end
|
|
345
|
-
|
|
346
|
-
@last_name = last_name
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
# Custom attribute writer method with validation
|
|
350
|
-
# @param [Object] maternal_last_name Value to be assigned
|
|
351
|
-
def maternal_last_name=(maternal_last_name)
|
|
352
|
-
if maternal_last_name.nil?
|
|
353
|
-
fail ArgumentError, 'maternal_last_name cannot be nil'
|
|
354
|
-
end
|
|
355
|
-
|
|
356
|
-
@maternal_last_name = maternal_last_name
|
|
357
|
-
end
|
|
358
|
-
|
|
359
|
-
# Custom attribute writer method with validation
|
|
360
|
-
# @param [Object] paternal_last_name Value to be assigned
|
|
361
|
-
def paternal_last_name=(paternal_last_name)
|
|
362
|
-
if paternal_last_name.nil?
|
|
363
|
-
fail ArgumentError, 'paternal_last_name cannot be nil'
|
|
364
|
-
end
|
|
365
|
-
|
|
366
|
-
@paternal_last_name = paternal_last_name
|
|
367
|
-
end
|
|
368
|
-
|
|
369
241
|
# Checks equality by comparing each attribute.
|
|
370
242
|
# @param [Object] Object to be compared
|
|
371
243
|
def ==(o)
|
|
@@ -96,6 +96,7 @@ module TrinsicApi
|
|
|
96
96
|
# List of attributes with nullable: true
|
|
97
97
|
def self.openapi_nullable
|
|
98
98
|
Set.new([
|
|
99
|
+
:'philsys_card_number',
|
|
99
100
|
:'given_name',
|
|
100
101
|
:'middle_name',
|
|
101
102
|
:'family_name',
|
|
@@ -127,8 +128,6 @@ module TrinsicApi
|
|
|
127
128
|
|
|
128
129
|
if attributes.key?(:'philsys_card_number')
|
|
129
130
|
self.philsys_card_number = attributes[:'philsys_card_number']
|
|
130
|
-
else
|
|
131
|
-
self.philsys_card_number = nil
|
|
132
131
|
end
|
|
133
132
|
|
|
134
133
|
if attributes.key?(:'given_name')
|
|
@@ -177,10 +176,6 @@ module TrinsicApi
|
|
|
177
176
|
def list_invalid_properties
|
|
178
177
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
179
178
|
invalid_properties = Array.new
|
|
180
|
-
if @philsys_card_number.nil?
|
|
181
|
-
invalid_properties.push('invalid value for "philsys_card_number", philsys_card_number cannot be nil.')
|
|
182
|
-
end
|
|
183
|
-
|
|
184
179
|
invalid_properties
|
|
185
180
|
end
|
|
186
181
|
|
|
@@ -188,20 +183,9 @@ module TrinsicApi
|
|
|
188
183
|
# @return true if the model is valid
|
|
189
184
|
def valid?
|
|
190
185
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
191
|
-
return false if @philsys_card_number.nil?
|
|
192
186
|
true
|
|
193
187
|
end
|
|
194
188
|
|
|
195
|
-
# Custom attribute writer method with validation
|
|
196
|
-
# @param [Object] philsys_card_number Value to be assigned
|
|
197
|
-
def philsys_card_number=(philsys_card_number)
|
|
198
|
-
if philsys_card_number.nil?
|
|
199
|
-
fail ArgumentError, 'philsys_card_number cannot be nil'
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
@philsys_card_number = philsys_card_number
|
|
203
|
-
end
|
|
204
|
-
|
|
205
189
|
# Checks equality by comparing each attribute.
|
|
206
190
|
# @param [Object] Object to be compared
|
|
207
191
|
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
|
+
:'first_name',
|
|
70
|
+
:'last_name',
|
|
69
71
|
:'middle_name',
|
|
70
72
|
:'suffix',
|
|
71
73
|
:'birth_date'
|
|
@@ -90,14 +92,10 @@ module TrinsicApi
|
|
|
90
92
|
|
|
91
93
|
if attributes.key?(:'first_name')
|
|
92
94
|
self.first_name = attributes[:'first_name']
|
|
93
|
-
else
|
|
94
|
-
self.first_name = nil
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
if attributes.key?(:'last_name')
|
|
98
98
|
self.last_name = attributes[:'last_name']
|
|
99
|
-
else
|
|
100
|
-
self.last_name = nil
|
|
101
99
|
end
|
|
102
100
|
|
|
103
101
|
if attributes.key?(:'middle_name')
|
|
@@ -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 @first_name.nil?
|
|
122
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if @last_name.nil?
|
|
126
|
-
invalid_properties.push('invalid value for "last_name", last_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 @first_name.nil?
|
|
137
|
-
return false if @last_name.nil?
|
|
138
126
|
true
|
|
139
127
|
end
|
|
140
128
|
|
|
141
|
-
# Custom attribute writer method with validation
|
|
142
|
-
# @param [Object] first_name Value to be assigned
|
|
143
|
-
def first_name=(first_name)
|
|
144
|
-
if first_name.nil?
|
|
145
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
@first_name = first_name
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
# Custom attribute writer method with validation
|
|
152
|
-
# @param [Object] last_name Value to be assigned
|
|
153
|
-
def last_name=(last_name)
|
|
154
|
-
if last_name.nil?
|
|
155
|
-
fail ArgumentError, 'last_name cannot be nil'
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
@last_name = last_name
|
|
159
|
-
end
|
|
160
|
-
|
|
161
129
|
# Checks equality by comparing each attribute.
|
|
162
130
|
# @param [Object] Object to be compared
|
|
163
131
|
def ==(o)
|
|
@@ -86,6 +86,7 @@ module TrinsicApi
|
|
|
86
86
|
# List of attributes with nullable: true
|
|
87
87
|
def self.openapi_nullable
|
|
88
88
|
Set.new([
|
|
89
|
+
:'philsys_card_number',
|
|
89
90
|
:'given_name',
|
|
90
91
|
:'middle_name',
|
|
91
92
|
:'family_name',
|
|
@@ -115,8 +116,6 @@ module TrinsicApi
|
|
|
115
116
|
|
|
116
117
|
if attributes.key?(:'philsys_card_number')
|
|
117
118
|
self.philsys_card_number = attributes[:'philsys_card_number']
|
|
118
|
-
else
|
|
119
|
-
self.philsys_card_number = nil
|
|
120
119
|
end
|
|
121
120
|
|
|
122
121
|
if attributes.key?(:'given_name')
|
|
@@ -157,10 +156,6 @@ module TrinsicApi
|
|
|
157
156
|
def list_invalid_properties
|
|
158
157
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
159
158
|
invalid_properties = Array.new
|
|
160
|
-
if @philsys_card_number.nil?
|
|
161
|
-
invalid_properties.push('invalid value for "philsys_card_number", philsys_card_number cannot be nil.')
|
|
162
|
-
end
|
|
163
|
-
|
|
164
159
|
invalid_properties
|
|
165
160
|
end
|
|
166
161
|
|
|
@@ -168,20 +163,9 @@ module TrinsicApi
|
|
|
168
163
|
# @return true if the model is valid
|
|
169
164
|
def valid?
|
|
170
165
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
171
|
-
return false if @philsys_card_number.nil?
|
|
172
166
|
true
|
|
173
167
|
end
|
|
174
168
|
|
|
175
|
-
# Custom attribute writer method with validation
|
|
176
|
-
# @param [Object] philsys_card_number Value to be assigned
|
|
177
|
-
def philsys_card_number=(philsys_card_number)
|
|
178
|
-
if philsys_card_number.nil?
|
|
179
|
-
fail ArgumentError, 'philsys_card_number cannot be nil'
|
|
180
|
-
end
|
|
181
|
-
|
|
182
|
-
@philsys_card_number = philsys_card_number
|
|
183
|
-
end
|
|
184
|
-
|
|
185
169
|
# Checks equality by comparing each attribute.
|
|
186
170
|
# @param [Object] Object to be compared
|
|
187
171
|
def ==(o)
|
|
@@ -61,6 +61,10 @@ module TrinsicApi
|
|
|
61
61
|
# List of attributes with nullable: true
|
|
62
62
|
def self.openapi_nullable
|
|
63
63
|
Set.new([
|
|
64
|
+
:'first_name',
|
|
65
|
+
:'last_name',
|
|
66
|
+
:'date_of_birth',
|
|
67
|
+
:'national_identification_number'
|
|
64
68
|
])
|
|
65
69
|
end
|
|
66
70
|
|
|
@@ -82,26 +86,18 @@ module TrinsicApi
|
|
|
82
86
|
|
|
83
87
|
if attributes.key?(:'first_name')
|
|
84
88
|
self.first_name = attributes[:'first_name']
|
|
85
|
-
else
|
|
86
|
-
self.first_name = nil
|
|
87
89
|
end
|
|
88
90
|
|
|
89
91
|
if attributes.key?(:'last_name')
|
|
90
92
|
self.last_name = attributes[:'last_name']
|
|
91
|
-
else
|
|
92
|
-
self.last_name = nil
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
if attributes.key?(:'date_of_birth')
|
|
96
96
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
97
|
-
else
|
|
98
|
-
self.date_of_birth = nil
|
|
99
97
|
end
|
|
100
98
|
|
|
101
99
|
if attributes.key?(:'national_identification_number')
|
|
102
100
|
self.national_identification_number = attributes[:'national_identification_number']
|
|
103
|
-
else
|
|
104
|
-
self.national_identification_number = nil
|
|
105
101
|
end
|
|
106
102
|
end
|
|
107
103
|
|
|
@@ -110,22 +106,6 @@ module TrinsicApi
|
|
|
110
106
|
def list_invalid_properties
|
|
111
107
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
112
108
|
invalid_properties = Array.new
|
|
113
|
-
if @first_name.nil?
|
|
114
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
if @last_name.nil?
|
|
118
|
-
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if @date_of_birth.nil?
|
|
122
|
-
invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
|
|
123
|
-
end
|
|
124
|
-
|
|
125
|
-
if @national_identification_number.nil?
|
|
126
|
-
invalid_properties.push('invalid value for "national_identification_number", national_identification_number cannot be nil.')
|
|
127
|
-
end
|
|
128
|
-
|
|
129
109
|
invalid_properties
|
|
130
110
|
end
|
|
131
111
|
|
|
@@ -133,53 +113,9 @@ module TrinsicApi
|
|
|
133
113
|
# @return true if the model is valid
|
|
134
114
|
def valid?
|
|
135
115
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
136
|
-
return false if @first_name.nil?
|
|
137
|
-
return false if @last_name.nil?
|
|
138
|
-
return false if @date_of_birth.nil?
|
|
139
|
-
return false if @national_identification_number.nil?
|
|
140
116
|
true
|
|
141
117
|
end
|
|
142
118
|
|
|
143
|
-
# Custom attribute writer method with validation
|
|
144
|
-
# @param [Object] first_name Value to be assigned
|
|
145
|
-
def first_name=(first_name)
|
|
146
|
-
if first_name.nil?
|
|
147
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
@first_name = first_name
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
# Custom attribute writer method with validation
|
|
154
|
-
# @param [Object] last_name Value to be assigned
|
|
155
|
-
def last_name=(last_name)
|
|
156
|
-
if last_name.nil?
|
|
157
|
-
fail ArgumentError, 'last_name cannot be nil'
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
@last_name = last_name
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
# Custom attribute writer method with validation
|
|
164
|
-
# @param [Object] date_of_birth Value to be assigned
|
|
165
|
-
def date_of_birth=(date_of_birth)
|
|
166
|
-
if date_of_birth.nil?
|
|
167
|
-
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
@date_of_birth = date_of_birth
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
# Custom attribute writer method with validation
|
|
174
|
-
# @param [Object] national_identification_number Value to be assigned
|
|
175
|
-
def national_identification_number=(national_identification_number)
|
|
176
|
-
if national_identification_number.nil?
|
|
177
|
-
fail ArgumentError, 'national_identification_number cannot be nil'
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
@national_identification_number = national_identification_number
|
|
181
|
-
end
|
|
182
|
-
|
|
183
119
|
# Checks equality by comparing each attribute.
|
|
184
120
|
# @param [Object] Object to be compared
|
|
185
121
|
def ==(o)
|
|
@@ -24,7 +24,7 @@ module TrinsicApi
|
|
|
24
24
|
# Date of birth as it appears on mobile ID (mDowód).
|
|
25
25
|
attr_accessor :date_of_birth
|
|
26
26
|
|
|
27
|
-
# Nationality as it appears on mobile ID (mDowód).
|
|
27
|
+
# Nationality as it appears on mobile ID (mDowód). Format: - Must be a valid ISO 3166-1 alpha-2 or alpha-3 country code. - Matching against mObywatel is an exact string comparison on the alpha-3 code. Alpha-2 values are accepted and normalized to alpha-3 before matching.
|
|
28
28
|
attr_accessor :nationality
|
|
29
29
|
|
|
30
30
|
# Polish national identification number (PESEL) as it appears on mobile ID (mDowód). NOTE: The provided example value is a randomly generated, but valid PESEL number that does not correspond to a real person.
|
|
@@ -33,10 +33,10 @@ module TrinsicApi
|
|
|
33
33
|
# Document expiration date as it appears on mobile ID (mDowód).
|
|
34
34
|
attr_accessor :expiration_date
|
|
35
35
|
|
|
36
|
-
# The raw bytes of
|
|
36
|
+
# The raw bytes of an optional selfie image collected from the individual. Requirements from the provider: - JPEG or PNG - At least 720 pixels wide (1080 pixels recommended) - Not exceeding 10 MB - Clear, front-facing photo with good lighting and no sunglasses or face coverings.
|
|
37
37
|
attr_accessor :selfie_bytes
|
|
38
38
|
|
|
39
|
-
# The MIME
|
|
39
|
+
# The MIME type of the file contained in SelfieBytes. Must be one of `image/jpeg` or `image/png`.
|
|
40
40
|
attr_accessor :selfie_image_mime_type
|
|
41
41
|
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -22,7 +22,7 @@ module TrinsicApi
|
|
|
22
22
|
# Current legal family name (nazwisko) as provided by the individual. In Poland the current legal family name (nazwisko) is a separate concept from your birth family name (nazwisko rodowe). They often match, but they can differ after marriage, adoption, or a court-ordered change.
|
|
23
23
|
attr_accessor :family_name
|
|
24
24
|
|
|
25
|
-
# Nationality as provided by the individual.
|
|
25
|
+
# Nationality as provided by the individual. This is not necessarily the same as the raw input that was provided. This is the normalized value, which was used to match against the individual's mObywatel wallet. Format: - 3-letter ISO 3166-1 alpha-3 code (e.g. POL)
|
|
26
26
|
attr_accessor :nationality
|
|
27
27
|
|
|
28
28
|
# Date of birth as provided by the individual.
|
|
@@ -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
|
+
:'first_name',
|
|
60
|
+
:'last_name',
|
|
61
|
+
:'national_identification_number'
|
|
59
62
|
])
|
|
60
63
|
end
|
|
61
64
|
|
|
@@ -77,20 +80,14 @@ module TrinsicApi
|
|
|
77
80
|
|
|
78
81
|
if attributes.key?(:'first_name')
|
|
79
82
|
self.first_name = attributes[:'first_name']
|
|
80
|
-
else
|
|
81
|
-
self.first_name = nil
|
|
82
83
|
end
|
|
83
84
|
|
|
84
85
|
if attributes.key?(:'last_name')
|
|
85
86
|
self.last_name = attributes[:'last_name']
|
|
86
|
-
else
|
|
87
|
-
self.last_name = nil
|
|
88
87
|
end
|
|
89
88
|
|
|
90
89
|
if attributes.key?(:'national_identification_number')
|
|
91
90
|
self.national_identification_number = attributes[:'national_identification_number']
|
|
92
|
-
else
|
|
93
|
-
self.national_identification_number = 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 @first_name.nil?
|
|
103
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if @last_name.nil?
|
|
107
|
-
invalid_properties.push('invalid value for "last_name", last_name cannot be nil.')
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if @national_identification_number.nil?
|
|
111
|
-
invalid_properties.push('invalid value for "national_identification_number", national_identification_number 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 @first_name.nil?
|
|
122
|
-
return false if @last_name.nil?
|
|
123
|
-
return false if @national_identification_number.nil?
|
|
124
106
|
true
|
|
125
107
|
end
|
|
126
108
|
|
|
127
|
-
# Custom attribute writer method with validation
|
|
128
|
-
# @param [Object] first_name Value to be assigned
|
|
129
|
-
def first_name=(first_name)
|
|
130
|
-
if first_name.nil?
|
|
131
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
@first_name = first_name
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] last_name Value to be assigned
|
|
139
|
-
def last_name=(last_name)
|
|
140
|
-
if last_name.nil?
|
|
141
|
-
fail ArgumentError, 'last_name cannot be nil'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
@last_name = last_name
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] national_identification_number Value to be assigned
|
|
149
|
-
def national_identification_number=(national_identification_number)
|
|
150
|
-
if national_identification_number.nil?
|
|
151
|
-
fail ArgumentError, 'national_identification_number cannot be nil'
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@national_identification_number = national_identification_number
|
|
155
|
-
end
|
|
156
|
-
|
|
157
109
|
# Checks equality by comparing each attribute.
|
|
158
110
|
# @param [Object] Object to be compared
|
|
159
111
|
def ==(o)
|