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
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
# Exposed properties for the `netherlands-eudi-sandbox` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class NetherlandsEudiSandboxProviderOutput < ApiModelBase
|
|
19
|
+
# An EUDI Person Identification Data (PID) credential, retrieved from the individual's wallet.
|
|
20
|
+
attr_accessor :pid
|
|
21
|
+
|
|
22
|
+
# An EUDI Age Verification credential, retrieved from the individual's wallet.
|
|
23
|
+
attr_accessor :age_verification
|
|
24
|
+
|
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
|
+
def self.attribute_map
|
|
27
|
+
{
|
|
28
|
+
:'pid' => :'pid',
|
|
29
|
+
:'age_verification' => :'ageVerification'
|
|
30
|
+
}
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Returns attribute mapping this model knows about
|
|
34
|
+
def self.acceptable_attribute_map
|
|
35
|
+
attribute_map
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Returns all the JSON keys this model knows about
|
|
39
|
+
def self.acceptable_attributes
|
|
40
|
+
acceptable_attribute_map.values
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Attribute type mapping.
|
|
44
|
+
def self.openapi_types
|
|
45
|
+
{
|
|
46
|
+
:'pid' => :'EudiPidCredential',
|
|
47
|
+
:'age_verification' => :'EudiAgeVerificationCredential'
|
|
48
|
+
}
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
# List of attributes with nullable: true
|
|
52
|
+
def self.openapi_nullable
|
|
53
|
+
Set.new([
|
|
54
|
+
:'pid',
|
|
55
|
+
:'age_verification'
|
|
56
|
+
])
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Initializes the object
|
|
60
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
61
|
+
def initialize(attributes = {})
|
|
62
|
+
if (!attributes.is_a?(Hash))
|
|
63
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::NetherlandsEudiSandboxProviderOutput` initialize method"
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
67
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
68
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
69
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
70
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::NetherlandsEudiSandboxProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
71
|
+
end
|
|
72
|
+
h[k.to_sym] = v
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if attributes.key?(:'pid')
|
|
76
|
+
self.pid = attributes[:'pid']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.key?(:'age_verification')
|
|
80
|
+
self.age_verification = attributes[:'age_verification']
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
85
|
+
# @return Array for valid properties with the reasons
|
|
86
|
+
def list_invalid_properties
|
|
87
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
88
|
+
invalid_properties = Array.new
|
|
89
|
+
invalid_properties
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Check to see if the all the properties in the model are valid
|
|
93
|
+
# @return true if the model is valid
|
|
94
|
+
def valid?
|
|
95
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
96
|
+
true
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# Checks equality by comparing each attribute.
|
|
100
|
+
# @param [Object] Object to be compared
|
|
101
|
+
def ==(o)
|
|
102
|
+
return true if self.equal?(o)
|
|
103
|
+
self.class == o.class &&
|
|
104
|
+
pid == o.pid &&
|
|
105
|
+
age_verification == o.age_verification
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# @see the `==` method
|
|
109
|
+
# @param [Object] Object to be compared
|
|
110
|
+
def eql?(o)
|
|
111
|
+
self == o
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Calculates hash code according to all attributes.
|
|
115
|
+
# @return [Integer] Hash code
|
|
116
|
+
def hash
|
|
117
|
+
[pid, age_verification].hash
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Builds the object from hash
|
|
121
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
122
|
+
# @return [Object] Returns the model itself
|
|
123
|
+
def self.build_from_hash(attributes)
|
|
124
|
+
return nil unless attributes.is_a?(Hash)
|
|
125
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
126
|
+
transformed_hash = {}
|
|
127
|
+
openapi_types.each_pair do |key, type|
|
|
128
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
129
|
+
transformed_hash["#{key}"] = nil
|
|
130
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
131
|
+
# check to ensure the input is an array given that the attribute
|
|
132
|
+
# is documented as an array but the input is not
|
|
133
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
134
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
135
|
+
end
|
|
136
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
137
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
new(transformed_hash)
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Returns the object in the form of hash
|
|
144
|
+
# @return [Hash] Returns the object in the form of hash
|
|
145
|
+
def to_hash
|
|
146
|
+
hash = {}
|
|
147
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
148
|
+
value = self.send(attr)
|
|
149
|
+
if value.nil?
|
|
150
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
151
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
hash[param] = _to_hash(value)
|
|
155
|
+
end
|
|
156
|
+
hash
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
end
|
|
@@ -15,29 +15,49 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
class NetherlandsIdinAddress < ApiModelBase
|
|
18
|
-
# Street name of the individual's address.
|
|
18
|
+
# Street name of the individual's domestic address.
|
|
19
19
|
attr_accessor :street
|
|
20
20
|
|
|
21
|
-
# House number of the individual's address.
|
|
21
|
+
# House number of the individual's domestic address.
|
|
22
22
|
attr_accessor :house_number
|
|
23
23
|
|
|
24
|
-
#
|
|
24
|
+
# House number suffix of the individual's domestic address.
|
|
25
|
+
attr_accessor :house_number_suffix
|
|
26
|
+
|
|
27
|
+
# Additional domestic address information returned by iDIN.
|
|
28
|
+
attr_accessor :address_extra
|
|
29
|
+
|
|
30
|
+
# Postal code of the individual's domestic address. A postal code in The Netherlands is a 4-digit number and two letters.
|
|
25
31
|
attr_accessor :postal_code
|
|
26
32
|
|
|
27
|
-
# City of the individual's address.
|
|
33
|
+
# City of the individual's domestic address.
|
|
28
34
|
attr_accessor :city
|
|
29
35
|
|
|
30
36
|
# Country code of the individual's address in ISO 3166-1 alpha-2 format.
|
|
31
37
|
attr_accessor :country_code
|
|
32
38
|
|
|
39
|
+
# First line of the individual's international address.
|
|
40
|
+
attr_accessor :international_address_line1
|
|
41
|
+
|
|
42
|
+
# Second line of the individual's international address.
|
|
43
|
+
attr_accessor :international_address_line2
|
|
44
|
+
|
|
45
|
+
# Third line of the individual's international address.
|
|
46
|
+
attr_accessor :international_address_line3
|
|
47
|
+
|
|
33
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
49
|
def self.attribute_map
|
|
35
50
|
{
|
|
36
51
|
:'street' => :'street',
|
|
37
52
|
:'house_number' => :'houseNumber',
|
|
53
|
+
:'house_number_suffix' => :'houseNumberSuffix',
|
|
54
|
+
:'address_extra' => :'addressExtra',
|
|
38
55
|
:'postal_code' => :'postalCode',
|
|
39
56
|
:'city' => :'city',
|
|
40
|
-
:'country_code' => :'countryCode'
|
|
57
|
+
:'country_code' => :'countryCode',
|
|
58
|
+
:'international_address_line1' => :'internationalAddressLine1',
|
|
59
|
+
:'international_address_line2' => :'internationalAddressLine2',
|
|
60
|
+
:'international_address_line3' => :'internationalAddressLine3'
|
|
41
61
|
}
|
|
42
62
|
end
|
|
43
63
|
|
|
@@ -56,15 +76,30 @@ module TrinsicApi
|
|
|
56
76
|
{
|
|
57
77
|
:'street' => :'String',
|
|
58
78
|
:'house_number' => :'String',
|
|
79
|
+
:'house_number_suffix' => :'String',
|
|
80
|
+
:'address_extra' => :'String',
|
|
59
81
|
:'postal_code' => :'String',
|
|
60
82
|
:'city' => :'String',
|
|
61
|
-
:'country_code' => :'String'
|
|
83
|
+
:'country_code' => :'String',
|
|
84
|
+
:'international_address_line1' => :'String',
|
|
85
|
+
:'international_address_line2' => :'String',
|
|
86
|
+
:'international_address_line3' => :'String'
|
|
62
87
|
}
|
|
63
88
|
end
|
|
64
89
|
|
|
65
90
|
# List of attributes with nullable: true
|
|
66
91
|
def self.openapi_nullable
|
|
67
92
|
Set.new([
|
|
93
|
+
:'street',
|
|
94
|
+
:'house_number',
|
|
95
|
+
:'house_number_suffix',
|
|
96
|
+
:'address_extra',
|
|
97
|
+
:'postal_code',
|
|
98
|
+
:'city',
|
|
99
|
+
:'country_code',
|
|
100
|
+
:'international_address_line1',
|
|
101
|
+
:'international_address_line2',
|
|
102
|
+
:'international_address_line3'
|
|
68
103
|
])
|
|
69
104
|
end
|
|
70
105
|
|
|
@@ -86,60 +121,50 @@ module TrinsicApi
|
|
|
86
121
|
|
|
87
122
|
if attributes.key?(:'street')
|
|
88
123
|
self.street = attributes[:'street']
|
|
89
|
-
else
|
|
90
|
-
self.street = nil
|
|
91
124
|
end
|
|
92
125
|
|
|
93
126
|
if attributes.key?(:'house_number')
|
|
94
127
|
self.house_number = attributes[:'house_number']
|
|
95
|
-
|
|
96
|
-
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
if attributes.key?(:'house_number_suffix')
|
|
131
|
+
self.house_number_suffix = attributes[:'house_number_suffix']
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
if attributes.key?(:'address_extra')
|
|
135
|
+
self.address_extra = attributes[:'address_extra']
|
|
97
136
|
end
|
|
98
137
|
|
|
99
138
|
if attributes.key?(:'postal_code')
|
|
100
139
|
self.postal_code = attributes[:'postal_code']
|
|
101
|
-
else
|
|
102
|
-
self.postal_code = nil
|
|
103
140
|
end
|
|
104
141
|
|
|
105
142
|
if attributes.key?(:'city')
|
|
106
143
|
self.city = attributes[:'city']
|
|
107
|
-
else
|
|
108
|
-
self.city = nil
|
|
109
144
|
end
|
|
110
145
|
|
|
111
146
|
if attributes.key?(:'country_code')
|
|
112
147
|
self.country_code = attributes[:'country_code']
|
|
113
|
-
else
|
|
114
|
-
self.country_code = nil
|
|
115
148
|
end
|
|
116
|
-
end
|
|
117
149
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
def list_invalid_properties
|
|
121
|
-
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
122
|
-
invalid_properties = Array.new
|
|
123
|
-
if @street.nil?
|
|
124
|
-
invalid_properties.push('invalid value for "street", street cannot be nil.')
|
|
150
|
+
if attributes.key?(:'international_address_line1')
|
|
151
|
+
self.international_address_line1 = attributes[:'international_address_line1']
|
|
125
152
|
end
|
|
126
153
|
|
|
127
|
-
if
|
|
128
|
-
|
|
154
|
+
if attributes.key?(:'international_address_line2')
|
|
155
|
+
self.international_address_line2 = attributes[:'international_address_line2']
|
|
129
156
|
end
|
|
130
157
|
|
|
131
|
-
if
|
|
132
|
-
|
|
133
|
-
end
|
|
134
|
-
|
|
135
|
-
if @city.nil?
|
|
136
|
-
invalid_properties.push('invalid value for "city", city cannot be nil.')
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
if @country_code.nil?
|
|
140
|
-
invalid_properties.push('invalid value for "country_code", country_code cannot be nil.')
|
|
158
|
+
if attributes.key?(:'international_address_line3')
|
|
159
|
+
self.international_address_line3 = attributes[:'international_address_line3']
|
|
141
160
|
end
|
|
161
|
+
end
|
|
142
162
|
|
|
163
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
164
|
+
# @return Array for valid properties with the reasons
|
|
165
|
+
def list_invalid_properties
|
|
166
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
167
|
+
invalid_properties = Array.new
|
|
143
168
|
invalid_properties
|
|
144
169
|
end
|
|
145
170
|
|
|
@@ -147,64 +172,9 @@ module TrinsicApi
|
|
|
147
172
|
# @return true if the model is valid
|
|
148
173
|
def valid?
|
|
149
174
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
150
|
-
return false if @street.nil?
|
|
151
|
-
return false if @house_number.nil?
|
|
152
|
-
return false if @postal_code.nil?
|
|
153
|
-
return false if @city.nil?
|
|
154
|
-
return false if @country_code.nil?
|
|
155
175
|
true
|
|
156
176
|
end
|
|
157
177
|
|
|
158
|
-
# Custom attribute writer method with validation
|
|
159
|
-
# @param [Object] street Value to be assigned
|
|
160
|
-
def street=(street)
|
|
161
|
-
if street.nil?
|
|
162
|
-
fail ArgumentError, 'street cannot be nil'
|
|
163
|
-
end
|
|
164
|
-
|
|
165
|
-
@street = street
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
# Custom attribute writer method with validation
|
|
169
|
-
# @param [Object] house_number Value to be assigned
|
|
170
|
-
def house_number=(house_number)
|
|
171
|
-
if house_number.nil?
|
|
172
|
-
fail ArgumentError, 'house_number cannot be nil'
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
@house_number = house_number
|
|
176
|
-
end
|
|
177
|
-
|
|
178
|
-
# Custom attribute writer method with validation
|
|
179
|
-
# @param [Object] postal_code Value to be assigned
|
|
180
|
-
def postal_code=(postal_code)
|
|
181
|
-
if postal_code.nil?
|
|
182
|
-
fail ArgumentError, 'postal_code cannot be nil'
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
@postal_code = postal_code
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
# Custom attribute writer method with validation
|
|
189
|
-
# @param [Object] city Value to be assigned
|
|
190
|
-
def city=(city)
|
|
191
|
-
if city.nil?
|
|
192
|
-
fail ArgumentError, 'city cannot be nil'
|
|
193
|
-
end
|
|
194
|
-
|
|
195
|
-
@city = city
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
# Custom attribute writer method with validation
|
|
199
|
-
# @param [Object] country_code Value to be assigned
|
|
200
|
-
def country_code=(country_code)
|
|
201
|
-
if country_code.nil?
|
|
202
|
-
fail ArgumentError, 'country_code cannot be nil'
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
@country_code = country_code
|
|
206
|
-
end
|
|
207
|
-
|
|
208
178
|
# Checks equality by comparing each attribute.
|
|
209
179
|
# @param [Object] Object to be compared
|
|
210
180
|
def ==(o)
|
|
@@ -212,9 +182,14 @@ module TrinsicApi
|
|
|
212
182
|
self.class == o.class &&
|
|
213
183
|
street == o.street &&
|
|
214
184
|
house_number == o.house_number &&
|
|
185
|
+
house_number_suffix == o.house_number_suffix &&
|
|
186
|
+
address_extra == o.address_extra &&
|
|
215
187
|
postal_code == o.postal_code &&
|
|
216
188
|
city == o.city &&
|
|
217
|
-
country_code == o.country_code
|
|
189
|
+
country_code == o.country_code &&
|
|
190
|
+
international_address_line1 == o.international_address_line1 &&
|
|
191
|
+
international_address_line2 == o.international_address_line2 &&
|
|
192
|
+
international_address_line3 == o.international_address_line3
|
|
218
193
|
end
|
|
219
194
|
|
|
220
195
|
# @see the `==` method
|
|
@@ -226,7 +201,7 @@ module TrinsicApi
|
|
|
226
201
|
# Calculates hash code according to all attributes.
|
|
227
202
|
# @return [Integer] Hash code
|
|
228
203
|
def hash
|
|
229
|
-
[street, house_number, postal_code, city, country_code].hash
|
|
204
|
+
[street, house_number, house_number_suffix, address_extra, postal_code, city, country_code, international_address_line1, international_address_line2, international_address_line3].hash
|
|
230
205
|
end
|
|
231
206
|
|
|
232
207
|
# Builds the object from hash
|
|
@@ -25,7 +25,7 @@ module TrinsicApi
|
|
|
25
25
|
# Unique identifier of the customer's account with the issuing authority. This identifier is generated by each authority and is unique per customer registration, authority, and individual. The identifier should be treated as a unique opaque string.
|
|
26
26
|
attr_accessor :customer_id
|
|
27
27
|
|
|
28
|
-
#
|
|
28
|
+
# The initials of the Consumer, defined as the first letter of each of the Consumer’s first names. Maximum of 24 capitalized letters. Only the first letter of each first name is used which must be capitalized and returned without spaces or dots. Given the name “Jan-Jaap Christaan Jozefszoon” or “jan-jaap christaan jozefszoon”, the value of this field will be “JC”.
|
|
29
29
|
attr_accessor :initials
|
|
30
30
|
|
|
31
31
|
# Last/family name of the individual.
|
|
@@ -91,6 +91,14 @@ module TrinsicApi
|
|
|
91
91
|
# List of attributes with nullable: true
|
|
92
92
|
def self.openapi_nullable
|
|
93
93
|
Set.new([
|
|
94
|
+
:'authority_id',
|
|
95
|
+
:'authority_name',
|
|
96
|
+
:'customer_id',
|
|
97
|
+
:'initials',
|
|
98
|
+
:'family_name',
|
|
99
|
+
:'address',
|
|
100
|
+
:'birth_date',
|
|
101
|
+
:'gender',
|
|
94
102
|
:'phone_number',
|
|
95
103
|
:'email'
|
|
96
104
|
])
|
|
@@ -114,50 +122,34 @@ module TrinsicApi
|
|
|
114
122
|
|
|
115
123
|
if attributes.key?(:'authority_id')
|
|
116
124
|
self.authority_id = attributes[:'authority_id']
|
|
117
|
-
else
|
|
118
|
-
self.authority_id = nil
|
|
119
125
|
end
|
|
120
126
|
|
|
121
127
|
if attributes.key?(:'authority_name')
|
|
122
128
|
self.authority_name = attributes[:'authority_name']
|
|
123
|
-
else
|
|
124
|
-
self.authority_name = nil
|
|
125
129
|
end
|
|
126
130
|
|
|
127
131
|
if attributes.key?(:'customer_id')
|
|
128
132
|
self.customer_id = attributes[:'customer_id']
|
|
129
|
-
else
|
|
130
|
-
self.customer_id = nil
|
|
131
133
|
end
|
|
132
134
|
|
|
133
135
|
if attributes.key?(:'initials')
|
|
134
136
|
self.initials = attributes[:'initials']
|
|
135
|
-
else
|
|
136
|
-
self.initials = nil
|
|
137
137
|
end
|
|
138
138
|
|
|
139
139
|
if attributes.key?(:'family_name')
|
|
140
140
|
self.family_name = attributes[:'family_name']
|
|
141
|
-
else
|
|
142
|
-
self.family_name = nil
|
|
143
141
|
end
|
|
144
142
|
|
|
145
143
|
if attributes.key?(:'address')
|
|
146
144
|
self.address = attributes[:'address']
|
|
147
|
-
else
|
|
148
|
-
self.address = nil
|
|
149
145
|
end
|
|
150
146
|
|
|
151
147
|
if attributes.key?(:'birth_date')
|
|
152
148
|
self.birth_date = attributes[:'birth_date']
|
|
153
|
-
else
|
|
154
|
-
self.birth_date = nil
|
|
155
149
|
end
|
|
156
150
|
|
|
157
151
|
if attributes.key?(:'gender')
|
|
158
152
|
self.gender = attributes[:'gender']
|
|
159
|
-
else
|
|
160
|
-
self.gender = nil
|
|
161
153
|
end
|
|
162
154
|
|
|
163
155
|
if attributes.key?(:'phone_number')
|
|
@@ -174,38 +166,6 @@ module TrinsicApi
|
|
|
174
166
|
def list_invalid_properties
|
|
175
167
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
176
168
|
invalid_properties = Array.new
|
|
177
|
-
if @authority_id.nil?
|
|
178
|
-
invalid_properties.push('invalid value for "authority_id", authority_id cannot be nil.')
|
|
179
|
-
end
|
|
180
|
-
|
|
181
|
-
if @authority_name.nil?
|
|
182
|
-
invalid_properties.push('invalid value for "authority_name", authority_name cannot be nil.')
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
if @customer_id.nil?
|
|
186
|
-
invalid_properties.push('invalid value for "customer_id", customer_id cannot be nil.')
|
|
187
|
-
end
|
|
188
|
-
|
|
189
|
-
if @initials.nil?
|
|
190
|
-
invalid_properties.push('invalid value for "initials", initials cannot be nil.')
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
if @family_name.nil?
|
|
194
|
-
invalid_properties.push('invalid value for "family_name", family_name cannot be nil.')
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
if @address.nil?
|
|
198
|
-
invalid_properties.push('invalid value for "address", address cannot be nil.')
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
if @birth_date.nil?
|
|
202
|
-
invalid_properties.push('invalid value for "birth_date", birth_date cannot be nil.')
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
if @gender.nil?
|
|
206
|
-
invalid_properties.push('invalid value for "gender", gender cannot be nil.')
|
|
207
|
-
end
|
|
208
|
-
|
|
209
169
|
invalid_properties
|
|
210
170
|
end
|
|
211
171
|
|
|
@@ -213,97 +173,9 @@ module TrinsicApi
|
|
|
213
173
|
# @return true if the model is valid
|
|
214
174
|
def valid?
|
|
215
175
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
216
|
-
return false if @authority_id.nil?
|
|
217
|
-
return false if @authority_name.nil?
|
|
218
|
-
return false if @customer_id.nil?
|
|
219
|
-
return false if @initials.nil?
|
|
220
|
-
return false if @family_name.nil?
|
|
221
|
-
return false if @address.nil?
|
|
222
|
-
return false if @birth_date.nil?
|
|
223
|
-
return false if @gender.nil?
|
|
224
176
|
true
|
|
225
177
|
end
|
|
226
178
|
|
|
227
|
-
# Custom attribute writer method with validation
|
|
228
|
-
# @param [Object] authority_id Value to be assigned
|
|
229
|
-
def authority_id=(authority_id)
|
|
230
|
-
if authority_id.nil?
|
|
231
|
-
fail ArgumentError, 'authority_id cannot be nil'
|
|
232
|
-
end
|
|
233
|
-
|
|
234
|
-
@authority_id = authority_id
|
|
235
|
-
end
|
|
236
|
-
|
|
237
|
-
# Custom attribute writer method with validation
|
|
238
|
-
# @param [Object] authority_name Value to be assigned
|
|
239
|
-
def authority_name=(authority_name)
|
|
240
|
-
if authority_name.nil?
|
|
241
|
-
fail ArgumentError, 'authority_name cannot be nil'
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
@authority_name = authority_name
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
# Custom attribute writer method with validation
|
|
248
|
-
# @param [Object] customer_id Value to be assigned
|
|
249
|
-
def customer_id=(customer_id)
|
|
250
|
-
if customer_id.nil?
|
|
251
|
-
fail ArgumentError, 'customer_id cannot be nil'
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
@customer_id = customer_id
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
# Custom attribute writer method with validation
|
|
258
|
-
# @param [Object] initials Value to be assigned
|
|
259
|
-
def initials=(initials)
|
|
260
|
-
if initials.nil?
|
|
261
|
-
fail ArgumentError, 'initials cannot be nil'
|
|
262
|
-
end
|
|
263
|
-
|
|
264
|
-
@initials = initials
|
|
265
|
-
end
|
|
266
|
-
|
|
267
|
-
# Custom attribute writer method with validation
|
|
268
|
-
# @param [Object] family_name Value to be assigned
|
|
269
|
-
def family_name=(family_name)
|
|
270
|
-
if family_name.nil?
|
|
271
|
-
fail ArgumentError, 'family_name cannot be nil'
|
|
272
|
-
end
|
|
273
|
-
|
|
274
|
-
@family_name = family_name
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
# Custom attribute writer method with validation
|
|
278
|
-
# @param [Object] address Value to be assigned
|
|
279
|
-
def address=(address)
|
|
280
|
-
if address.nil?
|
|
281
|
-
fail ArgumentError, 'address cannot be nil'
|
|
282
|
-
end
|
|
283
|
-
|
|
284
|
-
@address = address
|
|
285
|
-
end
|
|
286
|
-
|
|
287
|
-
# Custom attribute writer method with validation
|
|
288
|
-
# @param [Object] birth_date Value to be assigned
|
|
289
|
-
def birth_date=(birth_date)
|
|
290
|
-
if birth_date.nil?
|
|
291
|
-
fail ArgumentError, 'birth_date cannot be nil'
|
|
292
|
-
end
|
|
293
|
-
|
|
294
|
-
@birth_date = birth_date
|
|
295
|
-
end
|
|
296
|
-
|
|
297
|
-
# Custom attribute writer method with validation
|
|
298
|
-
# @param [Object] gender Value to be assigned
|
|
299
|
-
def gender=(gender)
|
|
300
|
-
if gender.nil?
|
|
301
|
-
fail ArgumentError, 'gender cannot be nil'
|
|
302
|
-
end
|
|
303
|
-
|
|
304
|
-
@gender = gender
|
|
305
|
-
end
|
|
306
|
-
|
|
307
179
|
# Checks equality by comparing each attribute.
|
|
308
180
|
# @param [Object] Object to be compared
|
|
309
181
|
def ==(o)
|