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,375 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
# Exposed properties for the `clear` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class ClearProviderOutput < ApiModelBase
|
|
19
|
+
# Whether CLEAR authenticated the individual.
|
|
20
|
+
attr_accessor :authenticated
|
|
21
|
+
|
|
22
|
+
# The methods the individual authenticated with during the CLEAR flow. Known values: - webauthn - email - sms_otp
|
|
23
|
+
attr_accessor :authentication_methods
|
|
24
|
+
|
|
25
|
+
# The authentication methods the individual activated but did not use as a pre-existing credential during this session. Known values: - webauthn - totp
|
|
26
|
+
attr_accessor :activated_authentication_methods
|
|
27
|
+
|
|
28
|
+
# The checks CLEAR performed on the individual's data and each check's result.
|
|
29
|
+
attr_accessor :checks
|
|
30
|
+
|
|
31
|
+
# CLEAR error or metadata codes that influenced check results.
|
|
32
|
+
attr_accessor :check_metadata
|
|
33
|
+
|
|
34
|
+
# The time the CLEAR verification session completed, as a UTC timestamp.
|
|
35
|
+
attr_accessor :completed_at
|
|
36
|
+
|
|
37
|
+
# The time the CLEAR verification session was created, as a UTC timestamp.
|
|
38
|
+
attr_accessor :created_at
|
|
39
|
+
|
|
40
|
+
# The individual's verified email address from the session.
|
|
41
|
+
attr_accessor :email
|
|
42
|
+
|
|
43
|
+
# The time the CLEAR verification session expires, as a UTC timestamp.
|
|
44
|
+
attr_accessor :expires_at
|
|
45
|
+
|
|
46
|
+
# The fields CLEAR still required to complete the current verification step.
|
|
47
|
+
attr_accessor :fields_to_collect
|
|
48
|
+
|
|
49
|
+
# The IP addresses used to access this CLEAR verification session.
|
|
50
|
+
attr_accessor :ip
|
|
51
|
+
|
|
52
|
+
# The individual's verified phone number, normalized to international E.164 format.
|
|
53
|
+
attr_accessor :phone
|
|
54
|
+
|
|
55
|
+
# The CLEAR verification session status. Known values: - success - fail - awaiting_user_input - deferred - processing_data - expired - awaiting_manual_review - manual_success - manual_fail - canceled
|
|
56
|
+
attr_accessor :status
|
|
57
|
+
|
|
58
|
+
# The time the CLEAR verification session was most recently updated, as a UTC timestamp.
|
|
59
|
+
attr_accessor :updated_at
|
|
60
|
+
|
|
61
|
+
# The browser user agents that accessed this CLEAR verification session.
|
|
62
|
+
attr_accessor :user_agent
|
|
63
|
+
|
|
64
|
+
# Whether CLEAR created a new individual account during this session.
|
|
65
|
+
attr_accessor :user_created
|
|
66
|
+
|
|
67
|
+
# The CLEAR identifier for the individual.
|
|
68
|
+
attr_accessor :user_id
|
|
69
|
+
|
|
70
|
+
# The individual traits CLEAR returned after collecting enough information to make a decision.
|
|
71
|
+
attr_accessor :traits
|
|
72
|
+
|
|
73
|
+
# The identity verification status. Known documented value: - verified: CLEAR indicates the individual is verified.
|
|
74
|
+
attr_accessor :idv_status
|
|
75
|
+
|
|
76
|
+
# Frontend session metadata CLEAR collected.
|
|
77
|
+
attr_accessor :sessions
|
|
78
|
+
|
|
79
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
80
|
+
def self.attribute_map
|
|
81
|
+
{
|
|
82
|
+
:'authenticated' => :'authenticated',
|
|
83
|
+
:'authentication_methods' => :'authenticationMethods',
|
|
84
|
+
:'activated_authentication_methods' => :'activatedAuthenticationMethods',
|
|
85
|
+
:'checks' => :'checks',
|
|
86
|
+
:'check_metadata' => :'checkMetadata',
|
|
87
|
+
:'completed_at' => :'completedAt',
|
|
88
|
+
:'created_at' => :'createdAt',
|
|
89
|
+
:'email' => :'email',
|
|
90
|
+
:'expires_at' => :'expiresAt',
|
|
91
|
+
:'fields_to_collect' => :'fieldsToCollect',
|
|
92
|
+
:'ip' => :'ip',
|
|
93
|
+
:'phone' => :'phone',
|
|
94
|
+
:'status' => :'status',
|
|
95
|
+
:'updated_at' => :'updatedAt',
|
|
96
|
+
:'user_agent' => :'userAgent',
|
|
97
|
+
:'user_created' => :'userCreated',
|
|
98
|
+
:'user_id' => :'userId',
|
|
99
|
+
:'traits' => :'traits',
|
|
100
|
+
:'idv_status' => :'idvStatus',
|
|
101
|
+
:'sessions' => :'sessions'
|
|
102
|
+
}
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Returns attribute mapping this model knows about
|
|
106
|
+
def self.acceptable_attribute_map
|
|
107
|
+
attribute_map
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Returns all the JSON keys this model knows about
|
|
111
|
+
def self.acceptable_attributes
|
|
112
|
+
acceptable_attribute_map.values
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Attribute type mapping.
|
|
116
|
+
def self.openapi_types
|
|
117
|
+
{
|
|
118
|
+
:'authenticated' => :'Boolean',
|
|
119
|
+
:'authentication_methods' => :'Array<String>',
|
|
120
|
+
:'activated_authentication_methods' => :'Array<String>',
|
|
121
|
+
:'checks' => :'Array<ClearProviderOutputCheck>',
|
|
122
|
+
:'check_metadata' => :'Array<String>',
|
|
123
|
+
:'completed_at' => :'Time',
|
|
124
|
+
:'created_at' => :'Time',
|
|
125
|
+
:'email' => :'String',
|
|
126
|
+
:'expires_at' => :'Time',
|
|
127
|
+
:'fields_to_collect' => :'Array<String>',
|
|
128
|
+
:'ip' => :'Array<String>',
|
|
129
|
+
:'phone' => :'String',
|
|
130
|
+
:'status' => :'String',
|
|
131
|
+
:'updated_at' => :'Time',
|
|
132
|
+
:'user_agent' => :'Array<String>',
|
|
133
|
+
:'user_created' => :'Boolean',
|
|
134
|
+
:'user_id' => :'String',
|
|
135
|
+
:'traits' => :'ClearProviderOutputTraits',
|
|
136
|
+
:'idv_status' => :'String',
|
|
137
|
+
:'sessions' => :'Array<ClearProviderOutputSessionInfo>'
|
|
138
|
+
}
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# List of attributes with nullable: true
|
|
142
|
+
def self.openapi_nullable
|
|
143
|
+
Set.new([
|
|
144
|
+
:'authenticated',
|
|
145
|
+
:'authentication_methods',
|
|
146
|
+
:'activated_authentication_methods',
|
|
147
|
+
:'checks',
|
|
148
|
+
:'check_metadata',
|
|
149
|
+
:'completed_at',
|
|
150
|
+
:'created_at',
|
|
151
|
+
:'email',
|
|
152
|
+
:'expires_at',
|
|
153
|
+
:'fields_to_collect',
|
|
154
|
+
:'ip',
|
|
155
|
+
:'phone',
|
|
156
|
+
:'status',
|
|
157
|
+
:'updated_at',
|
|
158
|
+
:'user_agent',
|
|
159
|
+
:'user_created',
|
|
160
|
+
:'user_id',
|
|
161
|
+
:'traits',
|
|
162
|
+
:'idv_status',
|
|
163
|
+
:'sessions'
|
|
164
|
+
])
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# Initializes the object
|
|
168
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
169
|
+
def initialize(attributes = {})
|
|
170
|
+
if (!attributes.is_a?(Hash))
|
|
171
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::ClearProviderOutput` initialize method"
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
175
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
176
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
177
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
178
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::ClearProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
179
|
+
end
|
|
180
|
+
h[k.to_sym] = v
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
if attributes.key?(:'authenticated')
|
|
184
|
+
self.authenticated = attributes[:'authenticated']
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
if attributes.key?(:'authentication_methods')
|
|
188
|
+
if (value = attributes[:'authentication_methods']).is_a?(Array)
|
|
189
|
+
self.authentication_methods = value
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
if attributes.key?(:'activated_authentication_methods')
|
|
194
|
+
if (value = attributes[:'activated_authentication_methods']).is_a?(Array)
|
|
195
|
+
self.activated_authentication_methods = value
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
if attributes.key?(:'checks')
|
|
200
|
+
if (value = attributes[:'checks']).is_a?(Array)
|
|
201
|
+
self.checks = value
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
if attributes.key?(:'check_metadata')
|
|
206
|
+
if (value = attributes[:'check_metadata']).is_a?(Array)
|
|
207
|
+
self.check_metadata = value
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if attributes.key?(:'completed_at')
|
|
212
|
+
self.completed_at = attributes[:'completed_at']
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
if attributes.key?(:'created_at')
|
|
216
|
+
self.created_at = attributes[:'created_at']
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
if attributes.key?(:'email')
|
|
220
|
+
self.email = attributes[:'email']
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
if attributes.key?(:'expires_at')
|
|
224
|
+
self.expires_at = attributes[:'expires_at']
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
if attributes.key?(:'fields_to_collect')
|
|
228
|
+
if (value = attributes[:'fields_to_collect']).is_a?(Array)
|
|
229
|
+
self.fields_to_collect = value
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
if attributes.key?(:'ip')
|
|
234
|
+
if (value = attributes[:'ip']).is_a?(Array)
|
|
235
|
+
self.ip = value
|
|
236
|
+
end
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
if attributes.key?(:'phone')
|
|
240
|
+
self.phone = attributes[:'phone']
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.key?(:'status')
|
|
244
|
+
self.status = attributes[:'status']
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
if attributes.key?(:'updated_at')
|
|
248
|
+
self.updated_at = attributes[:'updated_at']
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
if attributes.key?(:'user_agent')
|
|
252
|
+
if (value = attributes[:'user_agent']).is_a?(Array)
|
|
253
|
+
self.user_agent = value
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
if attributes.key?(:'user_created')
|
|
258
|
+
self.user_created = attributes[:'user_created']
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
if attributes.key?(:'user_id')
|
|
262
|
+
self.user_id = attributes[:'user_id']
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
if attributes.key?(:'traits')
|
|
266
|
+
self.traits = attributes[:'traits']
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
if attributes.key?(:'idv_status')
|
|
270
|
+
self.idv_status = attributes[:'idv_status']
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
if attributes.key?(:'sessions')
|
|
274
|
+
if (value = attributes[:'sessions']).is_a?(Array)
|
|
275
|
+
self.sessions = value
|
|
276
|
+
end
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
281
|
+
# @return Array for valid properties with the reasons
|
|
282
|
+
def list_invalid_properties
|
|
283
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
284
|
+
invalid_properties = Array.new
|
|
285
|
+
invalid_properties
|
|
286
|
+
end
|
|
287
|
+
|
|
288
|
+
# Check to see if the all the properties in the model are valid
|
|
289
|
+
# @return true if the model is valid
|
|
290
|
+
def valid?
|
|
291
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
292
|
+
true
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
# Checks equality by comparing each attribute.
|
|
296
|
+
# @param [Object] Object to be compared
|
|
297
|
+
def ==(o)
|
|
298
|
+
return true if self.equal?(o)
|
|
299
|
+
self.class == o.class &&
|
|
300
|
+
authenticated == o.authenticated &&
|
|
301
|
+
authentication_methods == o.authentication_methods &&
|
|
302
|
+
activated_authentication_methods == o.activated_authentication_methods &&
|
|
303
|
+
checks == o.checks &&
|
|
304
|
+
check_metadata == o.check_metadata &&
|
|
305
|
+
completed_at == o.completed_at &&
|
|
306
|
+
created_at == o.created_at &&
|
|
307
|
+
email == o.email &&
|
|
308
|
+
expires_at == o.expires_at &&
|
|
309
|
+
fields_to_collect == o.fields_to_collect &&
|
|
310
|
+
ip == o.ip &&
|
|
311
|
+
phone == o.phone &&
|
|
312
|
+
status == o.status &&
|
|
313
|
+
updated_at == o.updated_at &&
|
|
314
|
+
user_agent == o.user_agent &&
|
|
315
|
+
user_created == o.user_created &&
|
|
316
|
+
user_id == o.user_id &&
|
|
317
|
+
traits == o.traits &&
|
|
318
|
+
idv_status == o.idv_status &&
|
|
319
|
+
sessions == o.sessions
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
# @see the `==` method
|
|
323
|
+
# @param [Object] Object to be compared
|
|
324
|
+
def eql?(o)
|
|
325
|
+
self == o
|
|
326
|
+
end
|
|
327
|
+
|
|
328
|
+
# Calculates hash code according to all attributes.
|
|
329
|
+
# @return [Integer] Hash code
|
|
330
|
+
def hash
|
|
331
|
+
[authenticated, authentication_methods, activated_authentication_methods, checks, check_metadata, completed_at, created_at, email, expires_at, fields_to_collect, ip, phone, status, updated_at, user_agent, user_created, user_id, traits, idv_status, sessions].hash
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
# Builds the object from hash
|
|
335
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
336
|
+
# @return [Object] Returns the model itself
|
|
337
|
+
def self.build_from_hash(attributes)
|
|
338
|
+
return nil unless attributes.is_a?(Hash)
|
|
339
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
340
|
+
transformed_hash = {}
|
|
341
|
+
openapi_types.each_pair do |key, type|
|
|
342
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
343
|
+
transformed_hash["#{key}"] = nil
|
|
344
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
345
|
+
# check to ensure the input is an array given that the attribute
|
|
346
|
+
# is documented as an array but the input is not
|
|
347
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
348
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
349
|
+
end
|
|
350
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
351
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
352
|
+
end
|
|
353
|
+
end
|
|
354
|
+
new(transformed_hash)
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
# Returns the object in the form of hash
|
|
358
|
+
# @return [Hash] Returns the object in the form of hash
|
|
359
|
+
def to_hash
|
|
360
|
+
hash = {}
|
|
361
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
362
|
+
value = self.send(attr)
|
|
363
|
+
if value.nil?
|
|
364
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
365
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
hash[param] = _to_hash(value)
|
|
369
|
+
end
|
|
370
|
+
hash
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
end
|
|
@@ -14,34 +14,34 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class
|
|
18
|
-
# The
|
|
19
|
-
attr_accessor :
|
|
17
|
+
class ClearProviderOutputAddress < ApiModelBase
|
|
18
|
+
# The first line of the address.
|
|
19
|
+
attr_accessor :line1
|
|
20
20
|
|
|
21
|
-
# The
|
|
22
|
-
attr_accessor :
|
|
21
|
+
# The second line of the address, such as an apartment or suite.
|
|
22
|
+
attr_accessor :line2
|
|
23
23
|
|
|
24
|
-
# The
|
|
25
|
-
attr_accessor :
|
|
24
|
+
# The city.
|
|
25
|
+
attr_accessor :city
|
|
26
26
|
|
|
27
|
-
# The
|
|
28
|
-
attr_accessor :
|
|
27
|
+
# The state, province, or region.
|
|
28
|
+
attr_accessor :state
|
|
29
29
|
|
|
30
|
-
# The
|
|
31
|
-
attr_accessor :
|
|
30
|
+
# The postal code.
|
|
31
|
+
attr_accessor :postal_code
|
|
32
32
|
|
|
33
|
-
# The
|
|
34
|
-
attr_accessor :
|
|
33
|
+
# The ISO 3166-1 alpha-2 country code.
|
|
34
|
+
attr_accessor :country
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
37
|
def self.attribute_map
|
|
38
38
|
{
|
|
39
|
-
:'
|
|
40
|
-
:'
|
|
39
|
+
:'line1' => :'line1',
|
|
40
|
+
:'line2' => :'line2',
|
|
41
|
+
:'city' => :'city',
|
|
42
|
+
:'state' => :'state',
|
|
41
43
|
:'postal_code' => :'postalCode',
|
|
42
|
-
:'
|
|
43
|
-
:'building_number' => :'buildingNumber',
|
|
44
|
-
:'city' => :'city'
|
|
44
|
+
:'country' => :'country'
|
|
45
45
|
}
|
|
46
46
|
end
|
|
47
47
|
|
|
@@ -58,24 +58,24 @@ module TrinsicApi
|
|
|
58
58
|
# Attribute type mapping.
|
|
59
59
|
def self.openapi_types
|
|
60
60
|
{
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
61
|
+
:'line1' => :'String',
|
|
62
|
+
:'line2' => :'String',
|
|
63
|
+
:'city' => :'String',
|
|
64
|
+
:'state' => :'String',
|
|
63
65
|
:'postal_code' => :'String',
|
|
64
|
-
:'
|
|
65
|
-
:'building_number' => :'String',
|
|
66
|
-
:'city' => :'String'
|
|
66
|
+
:'country' => :'String'
|
|
67
67
|
}
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
# List of attributes with nullable: true
|
|
71
71
|
def self.openapi_nullable
|
|
72
72
|
Set.new([
|
|
73
|
-
:'
|
|
74
|
-
:'
|
|
73
|
+
:'line1',
|
|
74
|
+
:'line2',
|
|
75
|
+
:'city',
|
|
76
|
+
:'state',
|
|
75
77
|
:'postal_code',
|
|
76
|
-
:'
|
|
77
|
-
:'building_number',
|
|
78
|
-
:'city'
|
|
78
|
+
:'country'
|
|
79
79
|
])
|
|
80
80
|
end
|
|
81
81
|
|
|
@@ -83,40 +83,40 @@ module TrinsicApi
|
|
|
83
83
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
84
84
|
def initialize(attributes = {})
|
|
85
85
|
if (!attributes.is_a?(Hash))
|
|
86
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::
|
|
86
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::ClearProviderOutputAddress` initialize method"
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
90
90
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
91
91
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
92
92
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
93
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::
|
|
93
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::ClearProviderOutputAddress`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
94
94
|
end
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'
|
|
99
|
-
self.
|
|
98
|
+
if attributes.key?(:'line1')
|
|
99
|
+
self.line1 = attributes[:'line1']
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
102
|
+
if attributes.key?(:'line2')
|
|
103
|
+
self.line2 = attributes[:'line2']
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
if attributes.key?(:'
|
|
107
|
-
self.
|
|
106
|
+
if attributes.key?(:'city')
|
|
107
|
+
self.city = attributes[:'city']
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
110
|
+
if attributes.key?(:'state')
|
|
111
|
+
self.state = attributes[:'state']
|
|
112
112
|
end
|
|
113
113
|
|
|
114
|
-
if attributes.key?(:'
|
|
115
|
-
self.
|
|
114
|
+
if attributes.key?(:'postal_code')
|
|
115
|
+
self.postal_code = attributes[:'postal_code']
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
118
|
+
if attributes.key?(:'country')
|
|
119
|
+
self.country = attributes[:'country']
|
|
120
120
|
end
|
|
121
121
|
end
|
|
122
122
|
|
|
@@ -140,12 +140,12 @@ module TrinsicApi
|
|
|
140
140
|
def ==(o)
|
|
141
141
|
return true if self.equal?(o)
|
|
142
142
|
self.class == o.class &&
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
line1 == o.line1 &&
|
|
144
|
+
line2 == o.line2 &&
|
|
145
|
+
city == o.city &&
|
|
146
|
+
state == o.state &&
|
|
145
147
|
postal_code == o.postal_code &&
|
|
146
|
-
|
|
147
|
-
building_number == o.building_number &&
|
|
148
|
-
city == o.city
|
|
148
|
+
country == o.country
|
|
149
149
|
end
|
|
150
150
|
|
|
151
151
|
# @see the `==` method
|
|
@@ -157,7 +157,7 @@ module TrinsicApi
|
|
|
157
157
|
# Calculates hash code according to all attributes.
|
|
158
158
|
# @return [Integer] Hash code
|
|
159
159
|
def hash
|
|
160
|
-
[
|
|
160
|
+
[line1, line2, city, state, postal_code, country].hash
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
# Builds the object from hash
|