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,403 @@
|
|
|
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 Idemia Mobile ID Providers which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class IdemiaMobileIdProviderOutput < ApiModelBase
|
|
19
|
+
# The OpenID Connect subject identifier for the verified individual.
|
|
20
|
+
attr_accessor :sub
|
|
21
|
+
|
|
22
|
+
# The individual's name suffix.
|
|
23
|
+
attr_accessor :name_suffix
|
|
24
|
+
|
|
25
|
+
# The individual's full name.
|
|
26
|
+
attr_accessor :full_name
|
|
27
|
+
|
|
28
|
+
# The individual's given name.
|
|
29
|
+
attr_accessor :given_name
|
|
30
|
+
|
|
31
|
+
# The individual's family name.
|
|
32
|
+
attr_accessor :family_name
|
|
33
|
+
|
|
34
|
+
# The individual's birth date.
|
|
35
|
+
attr_accessor :birth_date
|
|
36
|
+
|
|
37
|
+
# Whether the individual is over 18 years old.
|
|
38
|
+
attr_accessor :age_over18
|
|
39
|
+
|
|
40
|
+
# Whether the individual is over 21 years old.
|
|
41
|
+
attr_accessor :age_over21
|
|
42
|
+
|
|
43
|
+
# Whether the individual is over 25 years old.
|
|
44
|
+
attr_accessor :age_over25
|
|
45
|
+
|
|
46
|
+
# The individual's resident street address.
|
|
47
|
+
attr_accessor :resident_address
|
|
48
|
+
|
|
49
|
+
# The individual's resident state.
|
|
50
|
+
attr_accessor :resident_state
|
|
51
|
+
|
|
52
|
+
# The individual's resident country.
|
|
53
|
+
attr_accessor :resident_country
|
|
54
|
+
|
|
55
|
+
# The individual's resident postal code.
|
|
56
|
+
attr_accessor :resident_postal_code
|
|
57
|
+
|
|
58
|
+
# The individual's resident city.
|
|
59
|
+
attr_accessor :resident_city
|
|
60
|
+
|
|
61
|
+
# The individual's email address.
|
|
62
|
+
attr_accessor :email
|
|
63
|
+
|
|
64
|
+
# Whether the individual's email address has been verified.
|
|
65
|
+
attr_accessor :email_verified
|
|
66
|
+
|
|
67
|
+
# The individual's document number.
|
|
68
|
+
attr_accessor :document_number
|
|
69
|
+
|
|
70
|
+
# The date the document was issued.
|
|
71
|
+
attr_accessor :issue_date
|
|
72
|
+
|
|
73
|
+
# The country that issued the document.
|
|
74
|
+
attr_accessor :issuing_country
|
|
75
|
+
|
|
76
|
+
# The authority that issued the document.
|
|
77
|
+
attr_accessor :issuing_authority
|
|
78
|
+
|
|
79
|
+
# The date the document expires.
|
|
80
|
+
attr_accessor :expiry_date
|
|
81
|
+
|
|
82
|
+
# The jurisdiction that issued the document.
|
|
83
|
+
attr_accessor :issuing_jurisdiction
|
|
84
|
+
|
|
85
|
+
# The document type.
|
|
86
|
+
attr_accessor :document_type
|
|
87
|
+
|
|
88
|
+
# The individual's sex.
|
|
89
|
+
attr_accessor :sex
|
|
90
|
+
|
|
91
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
92
|
+
def self.attribute_map
|
|
93
|
+
{
|
|
94
|
+
:'sub' => :'sub',
|
|
95
|
+
:'name_suffix' => :'nameSuffix',
|
|
96
|
+
:'full_name' => :'fullName',
|
|
97
|
+
:'given_name' => :'givenName',
|
|
98
|
+
:'family_name' => :'familyName',
|
|
99
|
+
:'birth_date' => :'birthDate',
|
|
100
|
+
:'age_over18' => :'ageOver18',
|
|
101
|
+
:'age_over21' => :'ageOver21',
|
|
102
|
+
:'age_over25' => :'ageOver25',
|
|
103
|
+
:'resident_address' => :'residentAddress',
|
|
104
|
+
:'resident_state' => :'residentState',
|
|
105
|
+
:'resident_country' => :'residentCountry',
|
|
106
|
+
:'resident_postal_code' => :'residentPostalCode',
|
|
107
|
+
:'resident_city' => :'residentCity',
|
|
108
|
+
:'email' => :'email',
|
|
109
|
+
:'email_verified' => :'emailVerified',
|
|
110
|
+
:'document_number' => :'documentNumber',
|
|
111
|
+
:'issue_date' => :'issueDate',
|
|
112
|
+
:'issuing_country' => :'issuingCountry',
|
|
113
|
+
:'issuing_authority' => :'issuingAuthority',
|
|
114
|
+
:'expiry_date' => :'expiryDate',
|
|
115
|
+
:'issuing_jurisdiction' => :'issuingJurisdiction',
|
|
116
|
+
:'document_type' => :'documentType',
|
|
117
|
+
:'sex' => :'sex'
|
|
118
|
+
}
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Returns attribute mapping this model knows about
|
|
122
|
+
def self.acceptable_attribute_map
|
|
123
|
+
attribute_map
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Returns all the JSON keys this model knows about
|
|
127
|
+
def self.acceptable_attributes
|
|
128
|
+
acceptable_attribute_map.values
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Attribute type mapping.
|
|
132
|
+
def self.openapi_types
|
|
133
|
+
{
|
|
134
|
+
:'sub' => :'String',
|
|
135
|
+
:'name_suffix' => :'String',
|
|
136
|
+
:'full_name' => :'String',
|
|
137
|
+
:'given_name' => :'String',
|
|
138
|
+
:'family_name' => :'String',
|
|
139
|
+
:'birth_date' => :'String',
|
|
140
|
+
:'age_over18' => :'String',
|
|
141
|
+
:'age_over21' => :'String',
|
|
142
|
+
:'age_over25' => :'String',
|
|
143
|
+
:'resident_address' => :'String',
|
|
144
|
+
:'resident_state' => :'String',
|
|
145
|
+
:'resident_country' => :'String',
|
|
146
|
+
:'resident_postal_code' => :'String',
|
|
147
|
+
:'resident_city' => :'String',
|
|
148
|
+
:'email' => :'String',
|
|
149
|
+
:'email_verified' => :'Boolean',
|
|
150
|
+
:'document_number' => :'String',
|
|
151
|
+
:'issue_date' => :'String',
|
|
152
|
+
:'issuing_country' => :'String',
|
|
153
|
+
:'issuing_authority' => :'String',
|
|
154
|
+
:'expiry_date' => :'String',
|
|
155
|
+
:'issuing_jurisdiction' => :'String',
|
|
156
|
+
:'document_type' => :'String',
|
|
157
|
+
:'sex' => :'String'
|
|
158
|
+
}
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# List of attributes with nullable: true
|
|
162
|
+
def self.openapi_nullable
|
|
163
|
+
Set.new([
|
|
164
|
+
:'sub',
|
|
165
|
+
:'name_suffix',
|
|
166
|
+
:'full_name',
|
|
167
|
+
:'given_name',
|
|
168
|
+
:'family_name',
|
|
169
|
+
:'birth_date',
|
|
170
|
+
:'age_over18',
|
|
171
|
+
:'age_over21',
|
|
172
|
+
:'age_over25',
|
|
173
|
+
:'resident_address',
|
|
174
|
+
:'resident_state',
|
|
175
|
+
:'resident_country',
|
|
176
|
+
:'resident_postal_code',
|
|
177
|
+
:'resident_city',
|
|
178
|
+
:'email',
|
|
179
|
+
:'email_verified',
|
|
180
|
+
:'document_number',
|
|
181
|
+
:'issue_date',
|
|
182
|
+
:'issuing_country',
|
|
183
|
+
:'issuing_authority',
|
|
184
|
+
:'expiry_date',
|
|
185
|
+
:'issuing_jurisdiction',
|
|
186
|
+
:'document_type',
|
|
187
|
+
:'sex'
|
|
188
|
+
])
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Initializes the object
|
|
192
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
193
|
+
def initialize(attributes = {})
|
|
194
|
+
if (!attributes.is_a?(Hash))
|
|
195
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::IdemiaMobileIdProviderOutput` initialize method"
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
199
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
200
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
201
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
202
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::IdemiaMobileIdProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
203
|
+
end
|
|
204
|
+
h[k.to_sym] = v
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
if attributes.key?(:'sub')
|
|
208
|
+
self.sub = attributes[:'sub']
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if attributes.key?(:'name_suffix')
|
|
212
|
+
self.name_suffix = attributes[:'name_suffix']
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
if attributes.key?(:'full_name')
|
|
216
|
+
self.full_name = attributes[:'full_name']
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
if attributes.key?(:'given_name')
|
|
220
|
+
self.given_name = attributes[:'given_name']
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
if attributes.key?(:'family_name')
|
|
224
|
+
self.family_name = attributes[:'family_name']
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'birth_date')
|
|
228
|
+
self.birth_date = attributes[:'birth_date']
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
if attributes.key?(:'age_over18')
|
|
232
|
+
self.age_over18 = attributes[:'age_over18']
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
if attributes.key?(:'age_over21')
|
|
236
|
+
self.age_over21 = attributes[:'age_over21']
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
if attributes.key?(:'age_over25')
|
|
240
|
+
self.age_over25 = attributes[:'age_over25']
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'resident_address')
|
|
244
|
+
self.resident_address = attributes[:'resident_address']
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
if attributes.key?(:'resident_state')
|
|
248
|
+
self.resident_state = attributes[:'resident_state']
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
if attributes.key?(:'resident_country')
|
|
252
|
+
self.resident_country = attributes[:'resident_country']
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
if attributes.key?(:'resident_postal_code')
|
|
256
|
+
self.resident_postal_code = attributes[:'resident_postal_code']
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
if attributes.key?(:'resident_city')
|
|
260
|
+
self.resident_city = attributes[:'resident_city']
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
if attributes.key?(:'email')
|
|
264
|
+
self.email = attributes[:'email']
|
|
265
|
+
end
|
|
266
|
+
|
|
267
|
+
if attributes.key?(:'email_verified')
|
|
268
|
+
self.email_verified = attributes[:'email_verified']
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
if attributes.key?(:'document_number')
|
|
272
|
+
self.document_number = attributes[:'document_number']
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
if attributes.key?(:'issue_date')
|
|
276
|
+
self.issue_date = attributes[:'issue_date']
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
if attributes.key?(:'issuing_country')
|
|
280
|
+
self.issuing_country = attributes[:'issuing_country']
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
if attributes.key?(:'issuing_authority')
|
|
284
|
+
self.issuing_authority = attributes[:'issuing_authority']
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
if attributes.key?(:'expiry_date')
|
|
288
|
+
self.expiry_date = attributes[:'expiry_date']
|
|
289
|
+
end
|
|
290
|
+
|
|
291
|
+
if attributes.key?(:'issuing_jurisdiction')
|
|
292
|
+
self.issuing_jurisdiction = attributes[:'issuing_jurisdiction']
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
if attributes.key?(:'document_type')
|
|
296
|
+
self.document_type = attributes[:'document_type']
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
if attributes.key?(:'sex')
|
|
300
|
+
self.sex = attributes[:'sex']
|
|
301
|
+
end
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
305
|
+
# @return Array for valid properties with the reasons
|
|
306
|
+
def list_invalid_properties
|
|
307
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
308
|
+
invalid_properties = Array.new
|
|
309
|
+
invalid_properties
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
# Check to see if the all the properties in the model are valid
|
|
313
|
+
# @return true if the model is valid
|
|
314
|
+
def valid?
|
|
315
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
316
|
+
true
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
# Checks equality by comparing each attribute.
|
|
320
|
+
# @param [Object] Object to be compared
|
|
321
|
+
def ==(o)
|
|
322
|
+
return true if self.equal?(o)
|
|
323
|
+
self.class == o.class &&
|
|
324
|
+
sub == o.sub &&
|
|
325
|
+
name_suffix == o.name_suffix &&
|
|
326
|
+
full_name == o.full_name &&
|
|
327
|
+
given_name == o.given_name &&
|
|
328
|
+
family_name == o.family_name &&
|
|
329
|
+
birth_date == o.birth_date &&
|
|
330
|
+
age_over18 == o.age_over18 &&
|
|
331
|
+
age_over21 == o.age_over21 &&
|
|
332
|
+
age_over25 == o.age_over25 &&
|
|
333
|
+
resident_address == o.resident_address &&
|
|
334
|
+
resident_state == o.resident_state &&
|
|
335
|
+
resident_country == o.resident_country &&
|
|
336
|
+
resident_postal_code == o.resident_postal_code &&
|
|
337
|
+
resident_city == o.resident_city &&
|
|
338
|
+
email == o.email &&
|
|
339
|
+
email_verified == o.email_verified &&
|
|
340
|
+
document_number == o.document_number &&
|
|
341
|
+
issue_date == o.issue_date &&
|
|
342
|
+
issuing_country == o.issuing_country &&
|
|
343
|
+
issuing_authority == o.issuing_authority &&
|
|
344
|
+
expiry_date == o.expiry_date &&
|
|
345
|
+
issuing_jurisdiction == o.issuing_jurisdiction &&
|
|
346
|
+
document_type == o.document_type &&
|
|
347
|
+
sex == o.sex
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
# @see the `==` method
|
|
351
|
+
# @param [Object] Object to be compared
|
|
352
|
+
def eql?(o)
|
|
353
|
+
self == o
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# Calculates hash code according to all attributes.
|
|
357
|
+
# @return [Integer] Hash code
|
|
358
|
+
def hash
|
|
359
|
+
[sub, name_suffix, full_name, given_name, family_name, birth_date, age_over18, age_over21, age_over25, resident_address, resident_state, resident_country, resident_postal_code, resident_city, email, email_verified, document_number, issue_date, issuing_country, issuing_authority, expiry_date, issuing_jurisdiction, document_type, sex].hash
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# Builds the object from hash
|
|
363
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
364
|
+
# @return [Object] Returns the model itself
|
|
365
|
+
def self.build_from_hash(attributes)
|
|
366
|
+
return nil unless attributes.is_a?(Hash)
|
|
367
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
368
|
+
transformed_hash = {}
|
|
369
|
+
openapi_types.each_pair do |key, type|
|
|
370
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
371
|
+
transformed_hash["#{key}"] = nil
|
|
372
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
373
|
+
# check to ensure the input is an array given that the attribute
|
|
374
|
+
# is documented as an array but the input is not
|
|
375
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
376
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
377
|
+
end
|
|
378
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
379
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
380
|
+
end
|
|
381
|
+
end
|
|
382
|
+
new(transformed_hash)
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# Returns the object in the form of hash
|
|
386
|
+
# @return [Hash] Returns the object in the form of hash
|
|
387
|
+
def to_hash
|
|
388
|
+
hash = {}
|
|
389
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
390
|
+
value = self.send(attr)
|
|
391
|
+
if value.nil?
|
|
392
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
393
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
hash[param] = _to_hash(value)
|
|
397
|
+
end
|
|
398
|
+
hash
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
end
|
|
@@ -75,7 +75,6 @@ module TrinsicApi
|
|
|
75
75
|
# List of attributes with nullable: true
|
|
76
76
|
def self.openapi_nullable
|
|
77
77
|
Set.new([
|
|
78
|
-
:'originating_provider_id',
|
|
79
78
|
:'originating_sub_provider_id',
|
|
80
79
|
:'person',
|
|
81
80
|
:'document',
|
|
@@ -102,6 +101,8 @@ module TrinsicApi
|
|
|
102
101
|
|
|
103
102
|
if attributes.key?(:'originating_provider_id')
|
|
104
103
|
self.originating_provider_id = attributes[:'originating_provider_id']
|
|
104
|
+
else
|
|
105
|
+
self.originating_provider_id = nil
|
|
105
106
|
end
|
|
106
107
|
|
|
107
108
|
if attributes.key?(:'originating_sub_provider_id')
|
|
@@ -138,6 +139,10 @@ module TrinsicApi
|
|
|
138
139
|
def list_invalid_properties
|
|
139
140
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
140
141
|
invalid_properties = Array.new
|
|
142
|
+
if @originating_provider_id.nil?
|
|
143
|
+
invalid_properties.push('invalid value for "originating_provider_id", originating_provider_id cannot be nil.')
|
|
144
|
+
end
|
|
145
|
+
|
|
141
146
|
if @attachments.nil?
|
|
142
147
|
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
|
143
148
|
end
|
|
@@ -149,10 +154,21 @@ module TrinsicApi
|
|
|
149
154
|
# @return true if the model is valid
|
|
150
155
|
def valid?
|
|
151
156
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
157
|
+
return false if @originating_provider_id.nil?
|
|
152
158
|
return false if @attachments.nil?
|
|
153
159
|
true
|
|
154
160
|
end
|
|
155
161
|
|
|
162
|
+
# Custom attribute writer method with validation
|
|
163
|
+
# @param [Object] originating_provider_id Value to be assigned
|
|
164
|
+
def originating_provider_id=(originating_provider_id)
|
|
165
|
+
if originating_provider_id.nil?
|
|
166
|
+
fail ArgumentError, 'originating_provider_id cannot be nil'
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
@originating_provider_id = originating_provider_id
|
|
170
|
+
end
|
|
171
|
+
|
|
156
172
|
# Custom attribute writer method with validation
|
|
157
173
|
# @param [Object] attachments Value to be assigned
|
|
158
174
|
def attachments=(attachments)
|
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|