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
|
@@ -162,6 +162,8 @@ module TrinsicApi
|
|
|
162
162
|
def self.openapi_nullable
|
|
163
163
|
Set.new([
|
|
164
164
|
:'billing_information',
|
|
165
|
+
:'identity_provider_entity_id',
|
|
166
|
+
:'spid_code',
|
|
165
167
|
:'spid_credential_expiration_date',
|
|
166
168
|
:'raw_id_card',
|
|
167
169
|
:'given_name',
|
|
@@ -208,14 +210,10 @@ module TrinsicApi
|
|
|
208
210
|
|
|
209
211
|
if attributes.key?(:'identity_provider_entity_id')
|
|
210
212
|
self.identity_provider_entity_id = attributes[:'identity_provider_entity_id']
|
|
211
|
-
else
|
|
212
|
-
self.identity_provider_entity_id = nil
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
if attributes.key?(:'spid_code')
|
|
216
216
|
self.spid_code = attributes[:'spid_code']
|
|
217
|
-
else
|
|
218
|
-
self.spid_code = nil
|
|
219
217
|
end
|
|
220
218
|
|
|
221
219
|
if attributes.key?(:'spid_credential_expiration_date')
|
|
@@ -308,14 +306,6 @@ module TrinsicApi
|
|
|
308
306
|
def list_invalid_properties
|
|
309
307
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
310
308
|
invalid_properties = Array.new
|
|
311
|
-
if @identity_provider_entity_id.nil?
|
|
312
|
-
invalid_properties.push('invalid value for "identity_provider_entity_id", identity_provider_entity_id cannot be nil.')
|
|
313
|
-
end
|
|
314
|
-
|
|
315
|
-
if @spid_code.nil?
|
|
316
|
-
invalid_properties.push('invalid value for "spid_code", spid_code cannot be nil.')
|
|
317
|
-
end
|
|
318
|
-
|
|
319
309
|
invalid_properties
|
|
320
310
|
end
|
|
321
311
|
|
|
@@ -323,31 +313,9 @@ module TrinsicApi
|
|
|
323
313
|
# @return true if the model is valid
|
|
324
314
|
def valid?
|
|
325
315
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
326
|
-
return false if @identity_provider_entity_id.nil?
|
|
327
|
-
return false if @spid_code.nil?
|
|
328
316
|
true
|
|
329
317
|
end
|
|
330
318
|
|
|
331
|
-
# Custom attribute writer method with validation
|
|
332
|
-
# @param [Object] identity_provider_entity_id Value to be assigned
|
|
333
|
-
def identity_provider_entity_id=(identity_provider_entity_id)
|
|
334
|
-
if identity_provider_entity_id.nil?
|
|
335
|
-
fail ArgumentError, 'identity_provider_entity_id cannot be nil'
|
|
336
|
-
end
|
|
337
|
-
|
|
338
|
-
@identity_provider_entity_id = identity_provider_entity_id
|
|
339
|
-
end
|
|
340
|
-
|
|
341
|
-
# Custom attribute writer method with validation
|
|
342
|
-
# @param [Object] spid_code Value to be assigned
|
|
343
|
-
def spid_code=(spid_code)
|
|
344
|
-
if spid_code.nil?
|
|
345
|
-
fail ArgumentError, 'spid_code cannot be nil'
|
|
346
|
-
end
|
|
347
|
-
|
|
348
|
-
@spid_code = spid_code
|
|
349
|
-
end
|
|
350
|
-
|
|
351
319
|
# Checks equality by comparing each attribute.
|
|
352
320
|
# @param [Object] Object to be compared
|
|
353
321
|
def ==(o)
|
|
@@ -25,16 +25,20 @@ module TrinsicApi
|
|
|
25
25
|
# The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider.
|
|
26
26
|
attr_accessor :subtext
|
|
27
27
|
|
|
28
|
-
# A URL pointing to the logo on Trinsic's CDN.
|
|
28
|
+
# A URL pointing to the logo on Trinsic's CDN. It may be a PNG, JPG, or SVG image.
|
|
29
29
|
attr_accessor :logo_url
|
|
30
30
|
|
|
31
|
+
# An optional URL pointing to a dark mode logo on Trinsic's CDN. It may be a PNG, JPG, or SVG image. If omitted, use LogoUrl in dark mode.
|
|
32
|
+
attr_accessor :dark_mode_logo_url
|
|
33
|
+
|
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
35
|
def self.attribute_map
|
|
33
36
|
{
|
|
34
37
|
:'id' => :'id',
|
|
35
38
|
:'name' => :'name',
|
|
36
39
|
:'subtext' => :'subtext',
|
|
37
|
-
:'logo_url' => :'logoUrl'
|
|
40
|
+
:'logo_url' => :'logoUrl',
|
|
41
|
+
:'dark_mode_logo_url' => :'darkModeLogoUrl'
|
|
38
42
|
}
|
|
39
43
|
end
|
|
40
44
|
|
|
@@ -54,13 +58,15 @@ module TrinsicApi
|
|
|
54
58
|
:'id' => :'String',
|
|
55
59
|
:'name' => :'String',
|
|
56
60
|
:'subtext' => :'String',
|
|
57
|
-
:'logo_url' => :'String'
|
|
61
|
+
:'logo_url' => :'String',
|
|
62
|
+
:'dark_mode_logo_url' => :'String'
|
|
58
63
|
}
|
|
59
64
|
end
|
|
60
65
|
|
|
61
66
|
# List of attributes with nullable: true
|
|
62
67
|
def self.openapi_nullable
|
|
63
68
|
Set.new([
|
|
69
|
+
:'dark_mode_logo_url'
|
|
64
70
|
])
|
|
65
71
|
end
|
|
66
72
|
|
|
@@ -103,6 +109,10 @@ module TrinsicApi
|
|
|
103
109
|
else
|
|
104
110
|
self.logo_url = nil
|
|
105
111
|
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'dark_mode_logo_url')
|
|
114
|
+
self.dark_mode_logo_url = attributes[:'dark_mode_logo_url']
|
|
115
|
+
end
|
|
106
116
|
end
|
|
107
117
|
|
|
108
118
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -188,7 +198,8 @@ module TrinsicApi
|
|
|
188
198
|
id == o.id &&
|
|
189
199
|
name == o.name &&
|
|
190
200
|
subtext == o.subtext &&
|
|
191
|
-
logo_url == o.logo_url
|
|
201
|
+
logo_url == o.logo_url &&
|
|
202
|
+
dark_mode_logo_url == o.dark_mode_logo_url
|
|
192
203
|
end
|
|
193
204
|
|
|
194
205
|
# @see the `==` method
|
|
@@ -200,7 +211,7 @@ module TrinsicApi
|
|
|
200
211
|
# Calculates hash code according to all attributes.
|
|
201
212
|
# @return [Integer] Hash code
|
|
202
213
|
def hash
|
|
203
|
-
[id, name, subtext, logo_url].hash
|
|
214
|
+
[id, name, subtext, logo_url, dark_mode_logo_url].hash
|
|
204
215
|
end
|
|
205
216
|
|
|
206
217
|
# Builds the object from hash
|
|
@@ -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)
|
|
@@ -56,6 +56,9 @@ module TrinsicApi
|
|
|
56
56
|
# List of attributes with nullable: true
|
|
57
57
|
def self.openapi_nullable
|
|
58
58
|
Set.new([
|
|
59
|
+
:'national_id_number',
|
|
60
|
+
:'secondary_id_number',
|
|
61
|
+
:'date_of_birth'
|
|
59
62
|
])
|
|
60
63
|
end
|
|
61
64
|
|
|
@@ -77,20 +80,14 @@ module TrinsicApi
|
|
|
77
80
|
|
|
78
81
|
if attributes.key?(:'national_id_number')
|
|
79
82
|
self.national_id_number = attributes[:'national_id_number']
|
|
80
|
-
else
|
|
81
|
-
self.national_id_number = nil
|
|
82
83
|
end
|
|
83
84
|
|
|
84
85
|
if attributes.key?(:'secondary_id_number')
|
|
85
86
|
self.secondary_id_number = attributes[:'secondary_id_number']
|
|
86
|
-
else
|
|
87
|
-
self.secondary_id_number = nil
|
|
88
87
|
end
|
|
89
88
|
|
|
90
89
|
if attributes.key?(:'date_of_birth')
|
|
91
90
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
92
|
-
else
|
|
93
|
-
self.date_of_birth = nil
|
|
94
91
|
end
|
|
95
92
|
end
|
|
96
93
|
|
|
@@ -99,18 +96,6 @@ module TrinsicApi
|
|
|
99
96
|
def list_invalid_properties
|
|
100
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
101
98
|
invalid_properties = Array.new
|
|
102
|
-
if @national_id_number.nil?
|
|
103
|
-
invalid_properties.push('invalid value for "national_id_number", national_id_number cannot be nil.')
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if @secondary_id_number.nil?
|
|
107
|
-
invalid_properties.push('invalid value for "secondary_id_number", secondary_id_number cannot be nil.')
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if @date_of_birth.nil?
|
|
111
|
-
invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
|
|
112
|
-
end
|
|
113
|
-
|
|
114
99
|
invalid_properties
|
|
115
100
|
end
|
|
116
101
|
|
|
@@ -118,42 +103,9 @@ module TrinsicApi
|
|
|
118
103
|
# @return true if the model is valid
|
|
119
104
|
def valid?
|
|
120
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
121
|
-
return false if @national_id_number.nil?
|
|
122
|
-
return false if @secondary_id_number.nil?
|
|
123
|
-
return false if @date_of_birth.nil?
|
|
124
106
|
true
|
|
125
107
|
end
|
|
126
108
|
|
|
127
|
-
# Custom attribute writer method with validation
|
|
128
|
-
# @param [Object] national_id_number Value to be assigned
|
|
129
|
-
def national_id_number=(national_id_number)
|
|
130
|
-
if national_id_number.nil?
|
|
131
|
-
fail ArgumentError, 'national_id_number cannot be nil'
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
@national_id_number = national_id_number
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] secondary_id_number Value to be assigned
|
|
139
|
-
def secondary_id_number=(secondary_id_number)
|
|
140
|
-
if secondary_id_number.nil?
|
|
141
|
-
fail ArgumentError, 'secondary_id_number cannot be nil'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
@secondary_id_number = secondary_id_number
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] date_of_birth Value to be assigned
|
|
149
|
-
def date_of_birth=(date_of_birth)
|
|
150
|
-
if date_of_birth.nil?
|
|
151
|
-
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@date_of_birth = date_of_birth
|
|
155
|
-
end
|
|
156
|
-
|
|
157
109
|
# Checks equality by comparing each attribute.
|
|
158
110
|
# @param [Object] Object to be compared
|
|
159
111
|
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)
|
|
@@ -86,6 +86,12 @@ module TrinsicApi
|
|
|
86
86
|
# List of attributes with nullable: true
|
|
87
87
|
def self.openapi_nullable
|
|
88
88
|
Set.new([
|
|
89
|
+
:'national_id_number',
|
|
90
|
+
:'given_name',
|
|
91
|
+
:'family_name',
|
|
92
|
+
:'full_name',
|
|
93
|
+
:'sex',
|
|
94
|
+
:'date_of_birth',
|
|
89
95
|
:'place_of_birth',
|
|
90
96
|
:'is_alive',
|
|
91
97
|
:'date_of_death'
|
|
@@ -110,38 +116,26 @@ module TrinsicApi
|
|
|
110
116
|
|
|
111
117
|
if attributes.key?(:'national_id_number')
|
|
112
118
|
self.national_id_number = attributes[:'national_id_number']
|
|
113
|
-
else
|
|
114
|
-
self.national_id_number = nil
|
|
115
119
|
end
|
|
116
120
|
|
|
117
121
|
if attributes.key?(:'given_name')
|
|
118
122
|
self.given_name = attributes[:'given_name']
|
|
119
|
-
else
|
|
120
|
-
self.given_name = nil
|
|
121
123
|
end
|
|
122
124
|
|
|
123
125
|
if attributes.key?(:'family_name')
|
|
124
126
|
self.family_name = attributes[:'family_name']
|
|
125
|
-
else
|
|
126
|
-
self.family_name = nil
|
|
127
127
|
end
|
|
128
128
|
|
|
129
129
|
if attributes.key?(:'full_name')
|
|
130
130
|
self.full_name = attributes[:'full_name']
|
|
131
|
-
else
|
|
132
|
-
self.full_name = nil
|
|
133
131
|
end
|
|
134
132
|
|
|
135
133
|
if attributes.key?(:'sex')
|
|
136
134
|
self.sex = attributes[:'sex']
|
|
137
|
-
else
|
|
138
|
-
self.sex = nil
|
|
139
135
|
end
|
|
140
136
|
|
|
141
137
|
if attributes.key?(:'date_of_birth')
|
|
142
138
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
143
|
-
else
|
|
144
|
-
self.date_of_birth = nil
|
|
145
139
|
end
|
|
146
140
|
|
|
147
141
|
if attributes.key?(:'place_of_birth')
|
|
@@ -162,30 +156,6 @@ module TrinsicApi
|
|
|
162
156
|
def list_invalid_properties
|
|
163
157
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
164
158
|
invalid_properties = Array.new
|
|
165
|
-
if @national_id_number.nil?
|
|
166
|
-
invalid_properties.push('invalid value for "national_id_number", national_id_number cannot be nil.')
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
if @given_name.nil?
|
|
170
|
-
invalid_properties.push('invalid value for "given_name", given_name cannot be nil.')
|
|
171
|
-
end
|
|
172
|
-
|
|
173
|
-
if @family_name.nil?
|
|
174
|
-
invalid_properties.push('invalid value for "family_name", family_name cannot be nil.')
|
|
175
|
-
end
|
|
176
|
-
|
|
177
|
-
if @full_name.nil?
|
|
178
|
-
invalid_properties.push('invalid value for "full_name", full_name cannot be nil.')
|
|
179
|
-
end
|
|
180
|
-
|
|
181
|
-
if @sex.nil?
|
|
182
|
-
invalid_properties.push('invalid value for "sex", sex cannot be nil.')
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
if @date_of_birth.nil?
|
|
186
|
-
invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
|
|
187
|
-
end
|
|
188
|
-
|
|
189
159
|
invalid_properties
|
|
190
160
|
end
|
|
191
161
|
|
|
@@ -193,75 +163,9 @@ module TrinsicApi
|
|
|
193
163
|
# @return true if the model is valid
|
|
194
164
|
def valid?
|
|
195
165
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
196
|
-
return false if @national_id_number.nil?
|
|
197
|
-
return false if @given_name.nil?
|
|
198
|
-
return false if @family_name.nil?
|
|
199
|
-
return false if @full_name.nil?
|
|
200
|
-
return false if @sex.nil?
|
|
201
|
-
return false if @date_of_birth.nil?
|
|
202
166
|
true
|
|
203
167
|
end
|
|
204
168
|
|
|
205
|
-
# Custom attribute writer method with validation
|
|
206
|
-
# @param [Object] national_id_number Value to be assigned
|
|
207
|
-
def national_id_number=(national_id_number)
|
|
208
|
-
if national_id_number.nil?
|
|
209
|
-
fail ArgumentError, 'national_id_number cannot be nil'
|
|
210
|
-
end
|
|
211
|
-
|
|
212
|
-
@national_id_number = national_id_number
|
|
213
|
-
end
|
|
214
|
-
|
|
215
|
-
# Custom attribute writer method with validation
|
|
216
|
-
# @param [Object] given_name Value to be assigned
|
|
217
|
-
def given_name=(given_name)
|
|
218
|
-
if given_name.nil?
|
|
219
|
-
fail ArgumentError, 'given_name cannot be nil'
|
|
220
|
-
end
|
|
221
|
-
|
|
222
|
-
@given_name = given_name
|
|
223
|
-
end
|
|
224
|
-
|
|
225
|
-
# Custom attribute writer method with validation
|
|
226
|
-
# @param [Object] family_name Value to be assigned
|
|
227
|
-
def family_name=(family_name)
|
|
228
|
-
if family_name.nil?
|
|
229
|
-
fail ArgumentError, 'family_name cannot be nil'
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
@family_name = family_name
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
# Custom attribute writer method with validation
|
|
236
|
-
# @param [Object] full_name Value to be assigned
|
|
237
|
-
def full_name=(full_name)
|
|
238
|
-
if full_name.nil?
|
|
239
|
-
fail ArgumentError, 'full_name cannot be nil'
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
@full_name = full_name
|
|
243
|
-
end
|
|
244
|
-
|
|
245
|
-
# Custom attribute writer method with validation
|
|
246
|
-
# @param [Object] sex Value to be assigned
|
|
247
|
-
def sex=(sex)
|
|
248
|
-
if sex.nil?
|
|
249
|
-
fail ArgumentError, 'sex cannot be nil'
|
|
250
|
-
end
|
|
251
|
-
|
|
252
|
-
@sex = sex
|
|
253
|
-
end
|
|
254
|
-
|
|
255
|
-
# Custom attribute writer method with validation
|
|
256
|
-
# @param [Object] date_of_birth Value to be assigned
|
|
257
|
-
def date_of_birth=(date_of_birth)
|
|
258
|
-
if date_of_birth.nil?
|
|
259
|
-
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
@date_of_birth = date_of_birth
|
|
263
|
-
end
|
|
264
|
-
|
|
265
169
|
# Checks equality by comparing each attribute.
|
|
266
170
|
# @param [Object] Object to be compared
|
|
267
171
|
def ==(o)
|
data/lib/trinsic_api/version.rb
CHANGED