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
|
@@ -14,67 +14,91 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
# Exposed properties for the `
|
|
17
|
+
# Exposed properties for the `itsme` Provider which do not directly map to the normalized IdentityData model.
|
|
18
18
|
class ItsmeProviderOutput < ApiModelBase
|
|
19
|
-
# The
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# The date of birth of the verified individual. Availability by ID document issuing country: always returned for supported issuing countries except Belgium, where it is best effort.
|
|
20
|
+
attr_accessor :date_of_birth
|
|
21
21
|
|
|
22
|
-
# The
|
|
23
|
-
attr_accessor :
|
|
22
|
+
# The email address of the verified individual. Availability by ID document issuing country: best effort for all supported issuing countries.
|
|
23
|
+
attr_accessor :email
|
|
24
24
|
|
|
25
|
-
# The
|
|
26
|
-
attr_accessor :
|
|
25
|
+
# The phone number of the verified individual, with a leading + country calling code. Availability by ID document issuing country: always returned for all supported issuing countries.
|
|
26
|
+
attr_accessor :phone_number
|
|
27
27
|
|
|
28
|
-
# The
|
|
29
|
-
attr_accessor :
|
|
28
|
+
# The stable OpenID Connect (OIDC) subject (sub) identifier. This should be a stable identifier, however, if a user deletes and recreates an account, this identifier will change.
|
|
29
|
+
attr_accessor :sub
|
|
30
30
|
|
|
31
|
-
# The
|
|
32
|
-
attr_accessor :
|
|
31
|
+
# The full name of the verified individual. Availability by ID document issuing country: always returned for all supported issuing countries.
|
|
32
|
+
attr_accessor :full_name
|
|
33
33
|
|
|
34
|
-
# The individual
|
|
35
|
-
attr_accessor :
|
|
34
|
+
# The given name of the verified individual. Availability by ID document issuing country: best effort for all supported issuing countries.
|
|
35
|
+
attr_accessor :given_name
|
|
36
36
|
|
|
37
|
-
# The individual
|
|
38
|
-
attr_accessor :
|
|
37
|
+
# The family name of the verified individual. Availability by ID document issuing country: always returned for all supported issuing countries.
|
|
38
|
+
attr_accessor :family_name
|
|
39
39
|
|
|
40
|
-
# The individual's
|
|
41
|
-
attr_accessor :
|
|
40
|
+
# The date of birth of the verified individual in itsme's document-facing string format. Availability by ID document issuing country: best effort for Belgian-issued ID documents; not returned for other supported issuing countries.
|
|
41
|
+
attr_accessor :date_of_birth_as_string
|
|
42
42
|
|
|
43
|
-
# The individual
|
|
44
|
-
attr_accessor :
|
|
43
|
+
# The gender claim for the verified individual. Availability by ID document issuing country: always returned for supported issuing countries except Netherlands, where it is best effort. Known values: - Female - Male - Unknown
|
|
44
|
+
attr_accessor :gender
|
|
45
45
|
|
|
46
|
-
# The
|
|
47
|
-
attr_accessor :
|
|
46
|
+
# The itsme app language as an uppercase language code. Availability by ID document issuing country: best effort for all supported issuing countries. Known values: - NL - FR - DE - EN
|
|
47
|
+
attr_accessor :locale
|
|
48
48
|
|
|
49
|
-
# The document
|
|
50
|
-
attr_accessor :
|
|
49
|
+
# The URL of the profile picture resource. Availability by ID document issuing country: always returned for supported issuing countries except Belgium, where it is best effort.
|
|
50
|
+
attr_accessor :picture_url
|
|
51
51
|
|
|
52
|
-
#
|
|
53
|
-
attr_accessor :
|
|
52
|
+
# Whether itsme reports the email address as verified. Availability by ID document issuing country: returned only if `email` is available. Note: itsme currently documents that this value is usually false because email verification is not implemented in its systems.
|
|
53
|
+
attr_accessor :email_verified
|
|
54
54
|
|
|
55
|
-
#
|
|
56
|
-
attr_accessor :
|
|
55
|
+
# Whether itsme reports the phone number as verified. Availability by ID document issuing country: always returned for all supported issuing countries.
|
|
56
|
+
attr_accessor :phone_number_verified
|
|
57
57
|
|
|
58
|
-
# The individual
|
|
58
|
+
# The address of the verified individual. Availability by ID document issuing country: always returned for Belgian-issued ID documents, best effort for Netherlands-issued ID documents, and not returned for other supported issuing countries.
|
|
59
59
|
attr_accessor :address
|
|
60
60
|
|
|
61
|
+
# The citizenship of the verified individual as an ISO 3166-1 alpha-2 country code. Availability by ID document issuing country: always returned for supported issuing countries except Belgium, where it is best effort.
|
|
62
|
+
attr_accessor :citizenship
|
|
63
|
+
|
|
64
|
+
# The Belgian National Register Number and related metadata. Availability by ID document issuing country: returned only for Belgian-issued ID documents.
|
|
65
|
+
attr_accessor :belgian_national_number
|
|
66
|
+
|
|
67
|
+
# The Belgian eID card document number and related metadata. Availability by ID document issuing country: returned only for Belgian-issued ID documents.
|
|
68
|
+
attr_accessor :belgian_identity_card
|
|
69
|
+
|
|
70
|
+
# The identity document and related metadata. Availability by ID document issuing country: always returned for all supported issuing countries.
|
|
71
|
+
attr_accessor :identity_document
|
|
72
|
+
|
|
73
|
+
# The place of birth. Availability by ID document issuing country: best effort for Belgian-issued ID documents; not returned for other supported issuing countries.
|
|
74
|
+
attr_accessor :place_of_birth
|
|
75
|
+
|
|
76
|
+
# The device metadata for the verification. Availability by ID document issuing country: best effort for all supported issuing countries.
|
|
77
|
+
attr_accessor :device
|
|
78
|
+
|
|
61
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
62
80
|
def self.attribute_map
|
|
63
81
|
{
|
|
64
|
-
:'first_name' => :'firstName',
|
|
65
|
-
:'last_name' => :'lastName',
|
|
66
82
|
:'date_of_birth' => :'dateOfBirth',
|
|
67
|
-
:'hashed_national_register_number' => :'hashedNationalRegisterNumber',
|
|
68
|
-
:'national_register_number' => :'nationalRegisterNumber',
|
|
69
83
|
:'email' => :'email',
|
|
70
84
|
:'phone_number' => :'phoneNumber',
|
|
85
|
+
:'sub' => :'sub',
|
|
86
|
+
:'full_name' => :'fullName',
|
|
87
|
+
:'given_name' => :'givenName',
|
|
88
|
+
:'family_name' => :'familyName',
|
|
89
|
+
:'date_of_birth_as_string' => :'dateOfBirthAsString',
|
|
71
90
|
:'gender' => :'gender',
|
|
72
|
-
:'
|
|
73
|
-
:'
|
|
74
|
-
:'
|
|
75
|
-
:'
|
|
76
|
-
:'
|
|
77
|
-
:'
|
|
91
|
+
:'locale' => :'locale',
|
|
92
|
+
:'picture_url' => :'pictureUrl',
|
|
93
|
+
:'email_verified' => :'emailVerified',
|
|
94
|
+
:'phone_number_verified' => :'phoneNumberVerified',
|
|
95
|
+
:'address' => :'address',
|
|
96
|
+
:'citizenship' => :'citizenship',
|
|
97
|
+
:'belgian_national_number' => :'belgianNationalNumber',
|
|
98
|
+
:'belgian_identity_card' => :'belgianIdentityCard',
|
|
99
|
+
:'identity_document' => :'identityDocument',
|
|
100
|
+
:'place_of_birth' => :'placeOfBirth',
|
|
101
|
+
:'device' => :'device'
|
|
78
102
|
}
|
|
79
103
|
end
|
|
80
104
|
|
|
@@ -91,37 +115,52 @@ module TrinsicApi
|
|
|
91
115
|
# Attribute type mapping.
|
|
92
116
|
def self.openapi_types
|
|
93
117
|
{
|
|
94
|
-
:'first_name' => :'String',
|
|
95
|
-
:'last_name' => :'String',
|
|
96
118
|
:'date_of_birth' => :'Date',
|
|
97
|
-
:'hashed_national_register_number' => :'String',
|
|
98
|
-
:'national_register_number' => :'String',
|
|
99
119
|
:'email' => :'String',
|
|
100
120
|
:'phone_number' => :'String',
|
|
121
|
+
:'sub' => :'String',
|
|
122
|
+
:'full_name' => :'String',
|
|
123
|
+
:'given_name' => :'String',
|
|
124
|
+
:'family_name' => :'String',
|
|
125
|
+
:'date_of_birth_as_string' => :'String',
|
|
101
126
|
:'gender' => :'String',
|
|
102
|
-
:'
|
|
103
|
-
:'
|
|
104
|
-
:'
|
|
105
|
-
:'
|
|
106
|
-
:'
|
|
107
|
-
:'
|
|
127
|
+
:'locale' => :'String',
|
|
128
|
+
:'picture_url' => :'String',
|
|
129
|
+
:'email_verified' => :'Boolean',
|
|
130
|
+
:'phone_number_verified' => :'Boolean',
|
|
131
|
+
:'address' => :'ItsmeProviderAddress',
|
|
132
|
+
:'citizenship' => :'String',
|
|
133
|
+
:'belgian_national_number' => :'ItsmeBelgianNationalNumber',
|
|
134
|
+
:'belgian_identity_card' => :'ItsmeBelgianIdentityCard',
|
|
135
|
+
:'identity_document' => :'ItsmeIdentityDocument',
|
|
136
|
+
:'place_of_birth' => :'ItsmePlaceOfBirth',
|
|
137
|
+
:'device' => :'ItsmeDirectDevice'
|
|
108
138
|
}
|
|
109
139
|
end
|
|
110
140
|
|
|
111
141
|
# List of attributes with nullable: true
|
|
112
142
|
def self.openapi_nullable
|
|
113
143
|
Set.new([
|
|
114
|
-
:'
|
|
115
|
-
:'national_register_number',
|
|
144
|
+
:'date_of_birth',
|
|
116
145
|
:'email',
|
|
117
146
|
:'phone_number',
|
|
147
|
+
:'sub',
|
|
148
|
+
:'full_name',
|
|
149
|
+
:'given_name',
|
|
150
|
+
:'family_name',
|
|
151
|
+
:'date_of_birth_as_string',
|
|
118
152
|
:'gender',
|
|
119
|
-
:'
|
|
120
|
-
:'
|
|
121
|
-
:'
|
|
122
|
-
:'
|
|
123
|
-
:'
|
|
124
|
-
:'
|
|
153
|
+
:'locale',
|
|
154
|
+
:'picture_url',
|
|
155
|
+
:'email_verified',
|
|
156
|
+
:'phone_number_verified',
|
|
157
|
+
:'address',
|
|
158
|
+
:'citizenship',
|
|
159
|
+
:'belgian_national_number',
|
|
160
|
+
:'belgian_identity_card',
|
|
161
|
+
:'identity_document',
|
|
162
|
+
:'place_of_birth',
|
|
163
|
+
:'device'
|
|
125
164
|
])
|
|
126
165
|
end
|
|
127
166
|
|
|
@@ -141,86 +180,92 @@ module TrinsicApi
|
|
|
141
180
|
h[k.to_sym] = v
|
|
142
181
|
}
|
|
143
182
|
|
|
144
|
-
if attributes.key?(:'
|
|
145
|
-
self.
|
|
146
|
-
|
|
147
|
-
|
|
183
|
+
if attributes.key?(:'date_of_birth')
|
|
184
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
if attributes.key?(:'email')
|
|
188
|
+
self.email = attributes[:'email']
|
|
148
189
|
end
|
|
149
190
|
|
|
150
|
-
if attributes.key?(:'
|
|
151
|
-
self.
|
|
152
|
-
else
|
|
153
|
-
self.last_name = nil
|
|
191
|
+
if attributes.key?(:'phone_number')
|
|
192
|
+
self.phone_number = attributes[:'phone_number']
|
|
154
193
|
end
|
|
155
194
|
|
|
156
|
-
if attributes.key?(:'
|
|
157
|
-
self.
|
|
158
|
-
else
|
|
159
|
-
self.date_of_birth = nil
|
|
195
|
+
if attributes.key?(:'sub')
|
|
196
|
+
self.sub = attributes[:'sub']
|
|
160
197
|
end
|
|
161
198
|
|
|
162
|
-
if attributes.key?(:'
|
|
163
|
-
self.
|
|
199
|
+
if attributes.key?(:'full_name')
|
|
200
|
+
self.full_name = attributes[:'full_name']
|
|
164
201
|
end
|
|
165
202
|
|
|
166
|
-
if attributes.key?(:'
|
|
167
|
-
self.
|
|
203
|
+
if attributes.key?(:'given_name')
|
|
204
|
+
self.given_name = attributes[:'given_name']
|
|
168
205
|
end
|
|
169
206
|
|
|
170
|
-
if attributes.key?(:'
|
|
171
|
-
self.
|
|
207
|
+
if attributes.key?(:'family_name')
|
|
208
|
+
self.family_name = attributes[:'family_name']
|
|
172
209
|
end
|
|
173
210
|
|
|
174
|
-
if attributes.key?(:'
|
|
175
|
-
self.
|
|
211
|
+
if attributes.key?(:'date_of_birth_as_string')
|
|
212
|
+
self.date_of_birth_as_string = attributes[:'date_of_birth_as_string']
|
|
176
213
|
end
|
|
177
214
|
|
|
178
215
|
if attributes.key?(:'gender')
|
|
179
216
|
self.gender = attributes[:'gender']
|
|
180
217
|
end
|
|
181
218
|
|
|
182
|
-
if attributes.key?(:'
|
|
183
|
-
self.
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
if attributes.key?(:'birth_place')
|
|
187
|
-
self.birth_place = attributes[:'birth_place']
|
|
219
|
+
if attributes.key?(:'locale')
|
|
220
|
+
self.locale = attributes[:'locale']
|
|
188
221
|
end
|
|
189
222
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
223
|
+
if attributes.key?(:'picture_url')
|
|
224
|
+
self.picture_url = attributes[:'picture_url']
|
|
192
225
|
end
|
|
193
226
|
|
|
194
|
-
if attributes.key?(:'
|
|
195
|
-
self.
|
|
227
|
+
if attributes.key?(:'email_verified')
|
|
228
|
+
self.email_verified = attributes[:'email_verified']
|
|
196
229
|
end
|
|
197
230
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
self.
|
|
231
|
+
if attributes.key?(:'phone_number_verified')
|
|
232
|
+
self.phone_number_verified = attributes[:'phone_number_verified']
|
|
200
233
|
end
|
|
201
234
|
|
|
202
235
|
if attributes.key?(:'address')
|
|
203
236
|
self.address = attributes[:'address']
|
|
204
237
|
end
|
|
205
|
-
end
|
|
206
238
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
239
|
+
if attributes.key?(:'citizenship')
|
|
240
|
+
self.citizenship = attributes[:'citizenship']
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'belgian_national_number')
|
|
244
|
+
self.belgian_national_number = attributes[:'belgian_national_number']
|
|
214
245
|
end
|
|
215
246
|
|
|
216
|
-
if
|
|
217
|
-
|
|
247
|
+
if attributes.key?(:'belgian_identity_card')
|
|
248
|
+
self.belgian_identity_card = attributes[:'belgian_identity_card']
|
|
218
249
|
end
|
|
219
250
|
|
|
220
|
-
if
|
|
221
|
-
|
|
251
|
+
if attributes.key?(:'identity_document')
|
|
252
|
+
self.identity_document = attributes[:'identity_document']
|
|
222
253
|
end
|
|
223
254
|
|
|
255
|
+
if attributes.key?(:'place_of_birth')
|
|
256
|
+
self.place_of_birth = attributes[:'place_of_birth']
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
if attributes.key?(:'device')
|
|
260
|
+
self.device = attributes[:'device']
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
265
|
+
# @return Array for valid properties with the reasons
|
|
266
|
+
def list_invalid_properties
|
|
267
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
268
|
+
invalid_properties = Array.new
|
|
224
269
|
invalid_properties
|
|
225
270
|
end
|
|
226
271
|
|
|
@@ -228,61 +273,34 @@ module TrinsicApi
|
|
|
228
273
|
# @return true if the model is valid
|
|
229
274
|
def valid?
|
|
230
275
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
231
|
-
return false if @first_name.nil?
|
|
232
|
-
return false if @last_name.nil?
|
|
233
|
-
return false if @date_of_birth.nil?
|
|
234
276
|
true
|
|
235
277
|
end
|
|
236
278
|
|
|
237
|
-
# Custom attribute writer method with validation
|
|
238
|
-
# @param [Object] first_name Value to be assigned
|
|
239
|
-
def first_name=(first_name)
|
|
240
|
-
if first_name.nil?
|
|
241
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
@first_name = first_name
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
# Custom attribute writer method with validation
|
|
248
|
-
# @param [Object] last_name Value to be assigned
|
|
249
|
-
def last_name=(last_name)
|
|
250
|
-
if last_name.nil?
|
|
251
|
-
fail ArgumentError, 'last_name cannot be nil'
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
@last_name = last_name
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
# Custom attribute writer method with validation
|
|
258
|
-
# @param [Object] date_of_birth Value to be assigned
|
|
259
|
-
def date_of_birth=(date_of_birth)
|
|
260
|
-
if date_of_birth.nil?
|
|
261
|
-
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
@date_of_birth = date_of_birth
|
|
265
|
-
end
|
|
266
|
-
|
|
267
279
|
# Checks equality by comparing each attribute.
|
|
268
280
|
# @param [Object] Object to be compared
|
|
269
281
|
def ==(o)
|
|
270
282
|
return true if self.equal?(o)
|
|
271
283
|
self.class == o.class &&
|
|
272
|
-
first_name == o.first_name &&
|
|
273
|
-
last_name == o.last_name &&
|
|
274
284
|
date_of_birth == o.date_of_birth &&
|
|
275
|
-
hashed_national_register_number == o.hashed_national_register_number &&
|
|
276
|
-
national_register_number == o.national_register_number &&
|
|
277
285
|
email == o.email &&
|
|
278
286
|
phone_number == o.phone_number &&
|
|
287
|
+
sub == o.sub &&
|
|
288
|
+
full_name == o.full_name &&
|
|
289
|
+
given_name == o.given_name &&
|
|
290
|
+
family_name == o.family_name &&
|
|
291
|
+
date_of_birth_as_string == o.date_of_birth_as_string &&
|
|
279
292
|
gender == o.gender &&
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
293
|
+
locale == o.locale &&
|
|
294
|
+
picture_url == o.picture_url &&
|
|
295
|
+
email_verified == o.email_verified &&
|
|
296
|
+
phone_number_verified == o.phone_number_verified &&
|
|
297
|
+
address == o.address &&
|
|
298
|
+
citizenship == o.citizenship &&
|
|
299
|
+
belgian_national_number == o.belgian_national_number &&
|
|
300
|
+
belgian_identity_card == o.belgian_identity_card &&
|
|
301
|
+
identity_document == o.identity_document &&
|
|
302
|
+
place_of_birth == o.place_of_birth &&
|
|
303
|
+
device == o.device
|
|
286
304
|
end
|
|
287
305
|
|
|
288
306
|
# @see the `==` method
|
|
@@ -294,7 +312,7 @@ module TrinsicApi
|
|
|
294
312
|
# Calculates hash code according to all attributes.
|
|
295
313
|
# @return [Integer] Hash code
|
|
296
314
|
def hash
|
|
297
|
-
[
|
|
315
|
+
[date_of_birth, email, phone_number, sub, full_name, given_name, family_name, date_of_birth_as_string, gender, locale, picture_url, email_verified, phone_number_verified, address, citizenship, belgian_national_number, belgian_identity_card, identity_document, place_of_birth, device].hash
|
|
298
316
|
end
|
|
299
317
|
|
|
300
318
|
# Builds the object from hash
|
|
@@ -96,8 +96,14 @@ module TrinsicApi
|
|
|
96
96
|
# List of attributes with nullable: true
|
|
97
97
|
def self.openapi_nullable
|
|
98
98
|
Set.new([
|
|
99
|
+
:'first_name',
|
|
100
|
+
:'surname',
|
|
99
101
|
:'other_name',
|
|
102
|
+
:'sex',
|
|
100
103
|
:'date_of_birth',
|
|
104
|
+
:'citizenship',
|
|
105
|
+
:'id_number',
|
|
106
|
+
:'serial_number',
|
|
101
107
|
:'date_of_issue',
|
|
102
108
|
:'place_of_birth',
|
|
103
109
|
:'place_of_residence'
|
|
@@ -122,14 +128,10 @@ module TrinsicApi
|
|
|
122
128
|
|
|
123
129
|
if attributes.key?(:'first_name')
|
|
124
130
|
self.first_name = attributes[:'first_name']
|
|
125
|
-
else
|
|
126
|
-
self.first_name = nil
|
|
127
131
|
end
|
|
128
132
|
|
|
129
133
|
if attributes.key?(:'surname')
|
|
130
134
|
self.surname = attributes[:'surname']
|
|
131
|
-
else
|
|
132
|
-
self.surname = nil
|
|
133
135
|
end
|
|
134
136
|
|
|
135
137
|
if attributes.key?(:'other_name')
|
|
@@ -138,8 +140,6 @@ module TrinsicApi
|
|
|
138
140
|
|
|
139
141
|
if attributes.key?(:'sex')
|
|
140
142
|
self.sex = attributes[:'sex']
|
|
141
|
-
else
|
|
142
|
-
self.sex = nil
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
if attributes.key?(:'date_of_birth')
|
|
@@ -148,20 +148,14 @@ module TrinsicApi
|
|
|
148
148
|
|
|
149
149
|
if attributes.key?(:'citizenship')
|
|
150
150
|
self.citizenship = attributes[:'citizenship']
|
|
151
|
-
else
|
|
152
|
-
self.citizenship = nil
|
|
153
151
|
end
|
|
154
152
|
|
|
155
153
|
if attributes.key?(:'id_number')
|
|
156
154
|
self.id_number = attributes[:'id_number']
|
|
157
|
-
else
|
|
158
|
-
self.id_number = nil
|
|
159
155
|
end
|
|
160
156
|
|
|
161
157
|
if attributes.key?(:'serial_number')
|
|
162
158
|
self.serial_number = attributes[:'serial_number']
|
|
163
|
-
else
|
|
164
|
-
self.serial_number = nil
|
|
165
159
|
end
|
|
166
160
|
|
|
167
161
|
if attributes.key?(:'date_of_issue')
|
|
@@ -182,30 +176,6 @@ module TrinsicApi
|
|
|
182
176
|
def list_invalid_properties
|
|
183
177
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
184
178
|
invalid_properties = Array.new
|
|
185
|
-
if @first_name.nil?
|
|
186
|
-
invalid_properties.push('invalid value for "first_name", first_name cannot be nil.')
|
|
187
|
-
end
|
|
188
|
-
|
|
189
|
-
if @surname.nil?
|
|
190
|
-
invalid_properties.push('invalid value for "surname", surname cannot be nil.')
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
if @sex.nil?
|
|
194
|
-
invalid_properties.push('invalid value for "sex", sex cannot be nil.')
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
if @citizenship.nil?
|
|
198
|
-
invalid_properties.push('invalid value for "citizenship", citizenship cannot be nil.')
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
if @id_number.nil?
|
|
202
|
-
invalid_properties.push('invalid value for "id_number", id_number cannot be nil.')
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
if @serial_number.nil?
|
|
206
|
-
invalid_properties.push('invalid value for "serial_number", serial_number cannot be nil.')
|
|
207
|
-
end
|
|
208
|
-
|
|
209
179
|
invalid_properties
|
|
210
180
|
end
|
|
211
181
|
|
|
@@ -213,75 +183,9 @@ module TrinsicApi
|
|
|
213
183
|
# @return true if the model is valid
|
|
214
184
|
def valid?
|
|
215
185
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
216
|
-
return false if @first_name.nil?
|
|
217
|
-
return false if @surname.nil?
|
|
218
|
-
return false if @sex.nil?
|
|
219
|
-
return false if @citizenship.nil?
|
|
220
|
-
return false if @id_number.nil?
|
|
221
|
-
return false if @serial_number.nil?
|
|
222
186
|
true
|
|
223
187
|
end
|
|
224
188
|
|
|
225
|
-
# Custom attribute writer method with validation
|
|
226
|
-
# @param [Object] first_name Value to be assigned
|
|
227
|
-
def first_name=(first_name)
|
|
228
|
-
if first_name.nil?
|
|
229
|
-
fail ArgumentError, 'first_name cannot be nil'
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
@first_name = first_name
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
# Custom attribute writer method with validation
|
|
236
|
-
# @param [Object] surname Value to be assigned
|
|
237
|
-
def surname=(surname)
|
|
238
|
-
if surname.nil?
|
|
239
|
-
fail ArgumentError, 'surname cannot be nil'
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
@surname = surname
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
# Custom attribute writer method with validation
|
|
246
|
-
# @param [Object] sex Value to be assigned
|
|
247
|
-
def sex=(sex)
|
|
248
|
-
if sex.nil?
|
|
249
|
-
fail ArgumentError, 'sex cannot be nil'
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
@sex = sex
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
# Custom attribute writer method with validation
|
|
256
|
-
# @param [Object] citizenship Value to be assigned
|
|
257
|
-
def citizenship=(citizenship)
|
|
258
|
-
if citizenship.nil?
|
|
259
|
-
fail ArgumentError, 'citizenship cannot be nil'
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
@citizenship = citizenship
|
|
263
|
-
end
|
|
264
|
-
|
|
265
|
-
# Custom attribute writer method with validation
|
|
266
|
-
# @param [Object] id_number Value to be assigned
|
|
267
|
-
def id_number=(id_number)
|
|
268
|
-
if id_number.nil?
|
|
269
|
-
fail ArgumentError, 'id_number cannot be nil'
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
@id_number = id_number
|
|
273
|
-
end
|
|
274
|
-
|
|
275
|
-
# Custom attribute writer method with validation
|
|
276
|
-
# @param [Object] serial_number Value to be assigned
|
|
277
|
-
def serial_number=(serial_number)
|
|
278
|
-
if serial_number.nil?
|
|
279
|
-
fail ArgumentError, 'serial_number cannot be nil'
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
@serial_number = serial_number
|
|
283
|
-
end
|
|
284
|
-
|
|
285
189
|
# Checks equality by comparing each attribute.
|
|
286
190
|
# @param [Object] Object to be compared
|
|
287
191
|
def ==(o)
|