trinsic_api 3.2.0 → 3.3.0.pre.alpha2
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/BrazilCnhProviderOutput.md +2 -0
- data/docs/BrazilCpfCheckInput.md +4 -2
- data/docs/BrazilCpfProviderOutput.md +38 -0
- data/docs/BrazilDigitalCnhInput.md +1 -1
- 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/ConnectIdAgeVerification.md +9 -1
- data/docs/ConnectIdInput.md +18 -0
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +6 -6
- data/docs/CreateDirectProviderSessionRequest.md +2 -0
- data/docs/CreateHostedProviderSessionRequest.md +2 -0
- data/docs/CreateHostedProviderSessionResponse.md +1 -1
- data/docs/CzechBankIdAddress.md +3 -3
- data/docs/CzechBankIdCard.md +4 -4
- data/docs/CzechBankIdInput.md +18 -0
- 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/DeveloperApi.md +153 -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/FinnishTrustNetworkAddressOutput.md +22 -0
- data/docs/FinnishTrustNetworkInput.md +18 -0
- data/docs/FinnishTrustNetworkProviderOutput.md +2 -0
- 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 +3 -1
- data/docs/GetSessionResultRequest.md +3 -1
- data/docs/GetSessionResultResponse.md +5 -3
- data/docs/GoogleWalletProviderOutput.md +1 -1
- data/docs/GuatemalaCuiLookupInput.md +3 -1
- data/docs/GuatemalaCuiProviderOutput.md +9 -9
- data/docs/HPKETestRequest.md +22 -0
- data/docs/HPKETestVPRequest.md +20 -0
- data/docs/IdemiaMobileIdProviderOutput.md +60 -0
- data/docs/IdentityData.md +1 -1
- data/docs/IndiaDigilockerAadhaarMatchDateOfBirthField.md +2 -2
- data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +2 -2
- data/docs/IndiaPanLookupProviderOutput.md +1 -1
- data/docs/IndiaPanStructuredNumber.md +5 -5
- data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +2 -2
- data/docs/IndonesiaDukcapilMatchFullNameField.md +2 -2
- data/docs/IndonesiaDukcapilMatchInput.md +1 -1
- 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/JapanMyNumberProviderOutput.md +24 -0
- data/docs/JordanSanadInput.md +18 -0
- 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/MitIdAddressOutput.md +28 -0
- data/docs/MitIdProviderOutput.md +3 -1
- 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 +2 -4
- data/docs/ProviderInput.md +28 -0
- data/docs/ProviderOutput.md +37 -5
- data/docs/RecommendProviderInformation.md +2 -0
- data/docs/RecommendProvidersRequest.md +1 -1
- data/docs/RevolutProviderOutput.md +28 -0
- data/docs/SamsungIdWithClearCredential.md +44 -0
- data/docs/SamsungWalletInput.md +1 -1
- data/docs/SamsungWalletProviderOutput.md +3 -1
- data/docs/SanadProviderOutput.md +28 -0
- data/docs/SaudiArabiaNafathAddress.md +50 -0
- data/docs/SaudiArabiaNafathCitizenAttributes.md +68 -0
- data/docs/SaudiArabiaNafathHeadOfHousehold.md +26 -0
- data/docs/SaudiArabiaNafathProviderOutput.md +38 -0
- data/docs/SaudiArabiaNafathResidentAttributes.md +68 -0
- data/docs/SaudiArabiaNafathVisitorAttributes.md +72 -0
- data/docs/SerbiaIdCardProviderOutput.md +4 -4
- data/docs/SessionsApi.md +2 -2
- data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +2 -2
- data/docs/SingpassPersonalCatalog.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/SwedenBankIdProviderOutput.md +7 -3
- data/docs/TrinsicHPKEBundle.md +24 -0
- data/docs/TrinsicHPKEMetadata.md +30 -0
- data/docs/TrinsicTestDatabaseLookupInput.md +1 -1
- 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/UkEvisaLookupInput.md +1 -1
- data/docs/UsaArizonaWalletInput.md +18 -0
- data/docs/VerificationProfileResponse.md +2 -0
- data/docs/VerificationProfilesApi.md +3 -1
- data/docs/YotiStructuredPostalAddress.md +1 -1
- data/docs/ZimbabweNidLookup2ProviderOutput.md +6 -6
- data/lib/trinsic_api/api/developer_api.rb +156 -0
- data/lib/trinsic_api/api/verification_profiles_api.rb +3 -0
- data/lib/trinsic_api/api_client.rb +1 -0
- 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_cnh_provider_output.rb +12 -1
- data/lib/trinsic_api/models/brazil_cpf_check_input.rb +23 -22
- data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +262 -0
- data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +1 -1
- 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/connect_id_age_verification.rb +46 -2
- data/lib/trinsic_api/models/connect_id_input.rb +149 -0
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/models/create_direct_provider_session_request.rb +28 -1
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +28 -1
- 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_input.rb +149 -0
- 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 +2 -18
- 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/finnish_trust_network_address_output.rb +171 -0
- data/lib/trinsic_api/models/finnish_trust_network_input.rb +149 -0
- data/lib/trinsic_api/models/finnish_trust_network_provider_output.rb +12 -1
- 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 +13 -2
- data/lib/trinsic_api/models/get_session_result_request.rb +15 -4
- data/lib/trinsic_api/models/get_session_result_response.rb +18 -5
- 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/hpke_test_request.rb +219 -0
- data/lib/trinsic_api/models/hpke_test_vp_request.rb +192 -0
- data/lib/trinsic_api/models/idemia_mobile_id_provider_output.rb +381 -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_lookup_provider_output.rb +1 -1
- 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_input.rb +1 -1
- 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/japan_my_number_provider_output.rb +183 -0
- data/lib/trinsic_api/models/jordan_sanad_input.rb +164 -0
- 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/mit_id_address_output.rb +204 -0
- data/lib/trinsic_api/models/mit_id_provider_output.rb +16 -5
- 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 +14 -57
- data/lib/trinsic_api/models/provider_input.rb +152 -1
- data/lib/trinsic_api/models/provider_output.rb +200 -24
- data/lib/trinsic_api/models/raw18013_document_request.rb +9 -0
- data/lib/trinsic_api/models/recommend_provider_information.rb +14 -1
- data/lib/trinsic_api/models/recommend_providers_request.rb +1 -1
- data/lib/trinsic_api/models/revolut_provider_output.rb +204 -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/sanad_provider_output.rb +205 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_address.rb +325 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_citizen_attributes.rb +426 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_head_of_household.rb +193 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_provider_output.rb +260 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_resident_attributes.rb +426 -0
- data/lib/trinsic_api/models/saudi_arabia_nafath_visitor_attributes.rb +446 -0
- 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 +3 -35
- data/lib/trinsic_api/models/singpass_personal_catalog.rb +9 -9
- 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/sweden_bank_id_provider_output.rb +24 -2
- data/lib/trinsic_api/models/trinsic_hpke_bundle.rb +246 -0
- data/lib/trinsic_api/models/trinsic_hpke_metadata.rb +327 -0
- data/lib/trinsic_api/models/trinsic_test_database_lookup_input.rb +1 -1
- 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/uk_evisa_lookup_input.rb +1 -1
- data/lib/trinsic_api/models/usa_arizona_wallet_input.rb +149 -0
- data/lib/trinsic_api/models/verification_profile_response.rb +28 -1
- 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 +76 -6
- data/spec/api/developer_api_spec.rb +60 -0
- data/spec/api/verification_profiles_api_spec.rb +1 -0
- 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_cnh_provider_output_spec.rb +6 -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/connect_id_age_verification_spec.rb +24 -0
- data/spec/models/connect_id_input_spec.rb +36 -0
- data/spec/models/create_direct_provider_session_request_spec.rb +6 -0
- data/spec/models/create_hosted_provider_session_request_spec.rb +6 -0
- data/spec/models/czech_bank_id_input_spec.rb +36 -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/finnish_trust_network_address_output_spec.rb +48 -0
- data/spec/models/finnish_trust_network_input_spec.rb +36 -0
- data/spec/models/finnish_trust_network_provider_output_spec.rb +6 -0
- 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/get_attachment_response_spec.rb +6 -0
- data/spec/models/get_session_result_request_spec.rb +6 -0
- data/spec/models/get_session_result_response_spec.rb +6 -0
- data/spec/models/guatemala_cui_lookup_input_spec.rb +6 -0
- data/spec/models/hpke_test_request_spec.rb +48 -0
- data/spec/models/hpke_test_vp_request_spec.rb +42 -0
- data/spec/models/idemia_mobile_id_provider_output_spec.rb +162 -0
- 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/japan_my_number_provider_output_spec.rb +54 -0
- data/spec/models/jordan_sanad_input_spec.rb +36 -0
- 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/mit_id_address_output_spec.rb +66 -0
- data/spec/models/mit_id_provider_output_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/{verimi_provider_output_spec.rb → moldova_vehicle_registration_certificate_credential_spec.rb} +38 -32
- 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 +84 -0
- data/spec/models/provider_output_spec.rb +102 -6
- data/spec/models/provider_spec.rb +3 -9
- data/spec/models/recommend_provider_information_spec.rb +6 -0
- data/spec/models/revolut_provider_output_spec.rb +66 -0
- 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/sanad_provider_output_spec.rb +66 -0
- data/spec/models/saudi_arabia_nafath_address_spec.rb +132 -0
- data/spec/models/saudi_arabia_nafath_citizen_attributes_spec.rb +186 -0
- data/spec/models/saudi_arabia_nafath_head_of_household_spec.rb +60 -0
- data/spec/models/saudi_arabia_nafath_provider_output_spec.rb +96 -0
- data/spec/models/saudi_arabia_nafath_resident_attributes_spec.rb +186 -0
- data/spec/models/saudi_arabia_nafath_visitor_attributes_spec.rb +198 -0
- data/spec/models/singpass_personal_catalog_spec.rb +1 -1
- data/spec/models/sub_provider_metadata_spec.rb +6 -0
- data/spec/models/sweden_bank_id_provider_output_spec.rb +12 -0
- data/spec/models/trinsic_hpke_bundle_spec.rb +54 -0
- data/spec/models/trinsic_hpke_metadata_spec.rb +72 -0
- data/spec/models/usa_arizona_wallet_input_spec.rb +36 -0
- data/spec/models/verification_profile_response_spec.rb +6 -0
- metadata +546 -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
|
@@ -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
|
+
:'full_name',
|
|
90
|
+
:'given_name',
|
|
91
|
+
:'family_name',
|
|
92
|
+
:'date_of_birth',
|
|
93
|
+
:'sex',
|
|
94
|
+
:'nationality',
|
|
89
95
|
:'address',
|
|
90
96
|
:'document_number',
|
|
91
97
|
:'national_id_number'
|
|
@@ -110,38 +116,26 @@ module TrinsicApi
|
|
|
110
116
|
|
|
111
117
|
if attributes.key?(:'full_name')
|
|
112
118
|
self.full_name = attributes[:'full_name']
|
|
113
|
-
else
|
|
114
|
-
self.full_name = 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?(:'date_of_birth')
|
|
130
130
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
131
|
-
else
|
|
132
|
-
self.date_of_birth = 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?(:'nationality')
|
|
142
138
|
self.nationality = attributes[:'nationality']
|
|
143
|
-
else
|
|
144
|
-
self.nationality = nil
|
|
145
139
|
end
|
|
146
140
|
|
|
147
141
|
if attributes.key?(:'address')
|
|
@@ -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 @full_name.nil?
|
|
166
|
-
invalid_properties.push('invalid value for "full_name", full_name 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 @date_of_birth.nil?
|
|
178
|
-
invalid_properties.push('invalid value for "date_of_birth", date_of_birth 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 @nationality.nil?
|
|
186
|
-
invalid_properties.push('invalid value for "nationality", nationality 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 @full_name.nil?
|
|
197
|
-
return false if @given_name.nil?
|
|
198
|
-
return false if @family_name.nil?
|
|
199
|
-
return false if @date_of_birth.nil?
|
|
200
|
-
return false if @sex.nil?
|
|
201
|
-
return false if @nationality.nil?
|
|
202
166
|
true
|
|
203
167
|
end
|
|
204
168
|
|
|
205
|
-
# Custom attribute writer method with validation
|
|
206
|
-
# @param [Object] full_name Value to be assigned
|
|
207
|
-
def full_name=(full_name)
|
|
208
|
-
if full_name.nil?
|
|
209
|
-
fail ArgumentError, 'full_name cannot be nil'
|
|
210
|
-
end
|
|
211
|
-
|
|
212
|
-
@full_name = full_name
|
|
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] date_of_birth Value to be assigned
|
|
237
|
-
def date_of_birth=(date_of_birth)
|
|
238
|
-
if date_of_birth.nil?
|
|
239
|
-
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
@date_of_birth = date_of_birth
|
|
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] nationality Value to be assigned
|
|
257
|
-
def nationality=(nationality)
|
|
258
|
-
if nationality.nil?
|
|
259
|
-
fail ArgumentError, 'nationality cannot be nil'
|
|
260
|
-
end
|
|
261
|
-
|
|
262
|
-
@nationality = nationality
|
|
263
|
-
end
|
|
264
|
-
|
|
265
169
|
# Checks equality by comparing each attribute.
|
|
266
170
|
# @param [Object] Object to be compared
|
|
267
171
|
def ==(o)
|
|
@@ -24,6 +24,9 @@ module TrinsicApi
|
|
|
24
24
|
# The Redirect URL to which the user should be sent after the session is complete. This field is required for providers which employ a redirect-based flow.
|
|
25
25
|
attr_accessor :redirect_url
|
|
26
26
|
|
|
27
|
+
# Defaults to `true` if not provided. Controls backwards compatibility behavior. If `true`, `redirectToken` validation is not required as part of the Session flow. If `false`, `redirectToken` validation is required as a core part of the Session flow; results cannot be fetched without it. (This applies only to `CaptureRedirect` Sessions in Direct mode). This parameter exists to enable backwards compatibility with existing integrations. In the future, this parameter will be removed and `redirectToken` validation will always be required. If your integration supports `redirectToken`, you should explicitly set this parameter's value to `false`. Only set this value to `true` if your integration does not support `redirectToken` and you are not yet able to add support.
|
|
28
|
+
attr_accessor :enable_redirect_backwards_compatibility
|
|
29
|
+
|
|
27
30
|
# The list of capabilities your integration supports. Capabilities are the core of Trinsic's whitelabel-with-optional-fallback offering. Most capabilities align with either an `IntegrationLaunchMethod` or an `IntegrationCollectionMethod`. The exception being refresh content to support updating the content of the launch method. For example, to support a basic redirect-based flow, you must include the `LaunchRedirect` and `CaptureRedirect` capabilities. To support a mobile deeplink / polling flow, you must include the `DeeplinkToMobile` and `PollForResults` capabilities. If `FallbackToHostedUi` is `true`, Trinsic will automatically fall back to a Trinsic-hosted UI to cover any gaps in your integration's capabilities. If `FallbackToHostedUi` is `false`, gaps in your integration's capabilities will result in an error during Session creation. Read more on how to integrate at <a href=\"https://docs.trinsic.id/docs/direct-provider-sessions\">the guide on Direct Provider Sessions</a>
|
|
28
31
|
attr_accessor :capabilities
|
|
29
32
|
|
|
@@ -42,6 +45,7 @@ module TrinsicApi
|
|
|
42
45
|
:'provider' => :'provider',
|
|
43
46
|
:'verification_profile_id' => :'verificationProfileId',
|
|
44
47
|
:'redirect_url' => :'redirectUrl',
|
|
48
|
+
:'enable_redirect_backwards_compatibility' => :'enableRedirectBackwardsCompatibility',
|
|
45
49
|
:'capabilities' => :'capabilities',
|
|
46
50
|
:'fallback_to_hosted_ui' => :'fallbackToHostedUI',
|
|
47
51
|
:'browser_languages' => :'browserLanguages',
|
|
@@ -65,6 +69,7 @@ module TrinsicApi
|
|
|
65
69
|
:'provider' => :'String',
|
|
66
70
|
:'verification_profile_id' => :'String',
|
|
67
71
|
:'redirect_url' => :'String',
|
|
72
|
+
:'enable_redirect_backwards_compatibility' => :'Boolean',
|
|
68
73
|
:'capabilities' => :'Array<IntegrationCapability>',
|
|
69
74
|
:'fallback_to_hosted_ui' => :'Boolean',
|
|
70
75
|
:'browser_languages' => :'Array<String>',
|
|
@@ -114,6 +119,12 @@ module TrinsicApi
|
|
|
114
119
|
self.redirect_url = attributes[:'redirect_url']
|
|
115
120
|
end
|
|
116
121
|
|
|
122
|
+
if attributes.key?(:'enable_redirect_backwards_compatibility')
|
|
123
|
+
self.enable_redirect_backwards_compatibility = attributes[:'enable_redirect_backwards_compatibility']
|
|
124
|
+
else
|
|
125
|
+
self.enable_redirect_backwards_compatibility = nil
|
|
126
|
+
end
|
|
127
|
+
|
|
117
128
|
if attributes.key?(:'capabilities')
|
|
118
129
|
if (value = attributes[:'capabilities']).is_a?(Array)
|
|
119
130
|
self.capabilities = value
|
|
@@ -154,6 +165,10 @@ module TrinsicApi
|
|
|
154
165
|
invalid_properties.push('invalid value for "verification_profile_id", verification_profile_id cannot be nil.')
|
|
155
166
|
end
|
|
156
167
|
|
|
168
|
+
if @enable_redirect_backwards_compatibility.nil?
|
|
169
|
+
invalid_properties.push('invalid value for "enable_redirect_backwards_compatibility", enable_redirect_backwards_compatibility cannot be nil.')
|
|
170
|
+
end
|
|
171
|
+
|
|
157
172
|
if @capabilities.nil?
|
|
158
173
|
invalid_properties.push('invalid value for "capabilities", capabilities cannot be nil.')
|
|
159
174
|
end
|
|
@@ -172,6 +187,7 @@ module TrinsicApi
|
|
|
172
187
|
return false if @provider.nil?
|
|
173
188
|
return false if @provider.to_s.length < 1
|
|
174
189
|
return false if @verification_profile_id.nil?
|
|
190
|
+
return false if @enable_redirect_backwards_compatibility.nil?
|
|
175
191
|
return false if @capabilities.nil?
|
|
176
192
|
return false if @capabilities.length < 1
|
|
177
193
|
true
|
|
@@ -201,6 +217,16 @@ module TrinsicApi
|
|
|
201
217
|
@verification_profile_id = verification_profile_id
|
|
202
218
|
end
|
|
203
219
|
|
|
220
|
+
# Custom attribute writer method with validation
|
|
221
|
+
# @param [Object] enable_redirect_backwards_compatibility Value to be assigned
|
|
222
|
+
def enable_redirect_backwards_compatibility=(enable_redirect_backwards_compatibility)
|
|
223
|
+
if enable_redirect_backwards_compatibility.nil?
|
|
224
|
+
fail ArgumentError, 'enable_redirect_backwards_compatibility cannot be nil'
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
@enable_redirect_backwards_compatibility = enable_redirect_backwards_compatibility
|
|
228
|
+
end
|
|
229
|
+
|
|
204
230
|
# Custom attribute writer method with validation
|
|
205
231
|
# @param [Object] capabilities Value to be assigned
|
|
206
232
|
def capabilities=(capabilities)
|
|
@@ -223,6 +249,7 @@ module TrinsicApi
|
|
|
223
249
|
provider == o.provider &&
|
|
224
250
|
verification_profile_id == o.verification_profile_id &&
|
|
225
251
|
redirect_url == o.redirect_url &&
|
|
252
|
+
enable_redirect_backwards_compatibility == o.enable_redirect_backwards_compatibility &&
|
|
226
253
|
capabilities == o.capabilities &&
|
|
227
254
|
fallback_to_hosted_ui == o.fallback_to_hosted_ui &&
|
|
228
255
|
browser_languages == o.browser_languages &&
|
|
@@ -238,7 +265,7 @@ module TrinsicApi
|
|
|
238
265
|
# Calculates hash code according to all attributes.
|
|
239
266
|
# @return [Integer] Hash code
|
|
240
267
|
def hash
|
|
241
|
-
[provider, verification_profile_id, redirect_url, capabilities, fallback_to_hosted_ui, browser_languages, provider_input].hash
|
|
268
|
+
[provider, verification_profile_id, redirect_url, enable_redirect_backwards_compatibility, capabilities, fallback_to_hosted_ui, browser_languages, provider_input].hash
|
|
242
269
|
end
|
|
243
270
|
|
|
244
271
|
# Builds the object from hash
|
|
@@ -24,6 +24,9 @@ module TrinsicApi
|
|
|
24
24
|
# The Redirect URL to which the user should be sent after the session is complete.
|
|
25
25
|
attr_accessor :redirect_url
|
|
26
26
|
|
|
27
|
+
# Defaults to `true` if not provided. Controls backwards compatibility behavior. If `true`, `redirectToken` validation is not required as part of the Session flow. If `false`, `redirectToken` validation is required as a core part of the Session flow; results cannot be fetched without it. This parameter exists to enable backwards compatibility with existing integrations. In the future, this parameter will be removed and `redirectToken` validation will always be required. If your integration supports `redirectToken`, you should explicitly set this parameter's value to `false`. Only set this value to `true` if your integration does not support `redirectToken` and you are not yet able to add support.
|
|
28
|
+
attr_accessor :enable_redirect_backwards_compatibility
|
|
29
|
+
|
|
27
30
|
# Preferences for languages to show first in the Hosted UI and supported provider launch flows. If left empty, the Hosted UI defaults to the user's navigator languages. If no preferred language is available, the Hosted UI falls back to English.
|
|
28
31
|
attr_accessor :browser_languages
|
|
29
32
|
|
|
@@ -36,6 +39,7 @@ module TrinsicApi
|
|
|
36
39
|
:'provider' => :'provider',
|
|
37
40
|
:'verification_profile_id' => :'verificationProfileId',
|
|
38
41
|
:'redirect_url' => :'redirectUrl',
|
|
42
|
+
:'enable_redirect_backwards_compatibility' => :'enableRedirectBackwardsCompatibility',
|
|
39
43
|
:'browser_languages' => :'browserLanguages',
|
|
40
44
|
:'provider_input' => :'providerInput'
|
|
41
45
|
}
|
|
@@ -57,6 +61,7 @@ module TrinsicApi
|
|
|
57
61
|
:'provider' => :'String',
|
|
58
62
|
:'verification_profile_id' => :'String',
|
|
59
63
|
:'redirect_url' => :'String',
|
|
64
|
+
:'enable_redirect_backwards_compatibility' => :'Boolean',
|
|
60
65
|
:'browser_languages' => :'Array<String>',
|
|
61
66
|
:'provider_input' => :'ProviderInput'
|
|
62
67
|
}
|
|
@@ -104,6 +109,12 @@ module TrinsicApi
|
|
|
104
109
|
self.redirect_url = nil
|
|
105
110
|
end
|
|
106
111
|
|
|
112
|
+
if attributes.key?(:'enable_redirect_backwards_compatibility')
|
|
113
|
+
self.enable_redirect_backwards_compatibility = attributes[:'enable_redirect_backwards_compatibility']
|
|
114
|
+
else
|
|
115
|
+
self.enable_redirect_backwards_compatibility = nil
|
|
116
|
+
end
|
|
117
|
+
|
|
107
118
|
if attributes.key?(:'browser_languages')
|
|
108
119
|
if (value = attributes[:'browser_languages']).is_a?(Array)
|
|
109
120
|
self.browser_languages = value
|
|
@@ -140,6 +151,10 @@ module TrinsicApi
|
|
|
140
151
|
invalid_properties.push('invalid value for "redirect_url", the character length must be greater than or equal to 1.')
|
|
141
152
|
end
|
|
142
153
|
|
|
154
|
+
if @enable_redirect_backwards_compatibility.nil?
|
|
155
|
+
invalid_properties.push('invalid value for "enable_redirect_backwards_compatibility", enable_redirect_backwards_compatibility cannot be nil.')
|
|
156
|
+
end
|
|
157
|
+
|
|
143
158
|
invalid_properties
|
|
144
159
|
end
|
|
145
160
|
|
|
@@ -152,6 +167,7 @@ module TrinsicApi
|
|
|
152
167
|
return false if @verification_profile_id.nil?
|
|
153
168
|
return false if @redirect_url.nil?
|
|
154
169
|
return false if @redirect_url.to_s.length < 1
|
|
170
|
+
return false if @enable_redirect_backwards_compatibility.nil?
|
|
155
171
|
true
|
|
156
172
|
end
|
|
157
173
|
|
|
@@ -193,6 +209,16 @@ module TrinsicApi
|
|
|
193
209
|
@redirect_url = redirect_url
|
|
194
210
|
end
|
|
195
211
|
|
|
212
|
+
# Custom attribute writer method with validation
|
|
213
|
+
# @param [Object] enable_redirect_backwards_compatibility Value to be assigned
|
|
214
|
+
def enable_redirect_backwards_compatibility=(enable_redirect_backwards_compatibility)
|
|
215
|
+
if enable_redirect_backwards_compatibility.nil?
|
|
216
|
+
fail ArgumentError, 'enable_redirect_backwards_compatibility cannot be nil'
|
|
217
|
+
end
|
|
218
|
+
|
|
219
|
+
@enable_redirect_backwards_compatibility = enable_redirect_backwards_compatibility
|
|
220
|
+
end
|
|
221
|
+
|
|
196
222
|
# Checks equality by comparing each attribute.
|
|
197
223
|
# @param [Object] Object to be compared
|
|
198
224
|
def ==(o)
|
|
@@ -201,6 +227,7 @@ module TrinsicApi
|
|
|
201
227
|
provider == o.provider &&
|
|
202
228
|
verification_profile_id == o.verification_profile_id &&
|
|
203
229
|
redirect_url == o.redirect_url &&
|
|
230
|
+
enable_redirect_backwards_compatibility == o.enable_redirect_backwards_compatibility &&
|
|
204
231
|
browser_languages == o.browser_languages &&
|
|
205
232
|
provider_input == o.provider_input
|
|
206
233
|
end
|
|
@@ -214,7 +241,7 @@ module TrinsicApi
|
|
|
214
241
|
# Calculates hash code according to all attributes.
|
|
215
242
|
# @return [Integer] Hash code
|
|
216
243
|
def hash
|
|
217
|
-
[provider, verification_profile_id, redirect_url, browser_languages, provider_input].hash
|
|
244
|
+
[provider, verification_profile_id, redirect_url, enable_redirect_backwards_compatibility, browser_languages, provider_input].hash
|
|
218
245
|
end
|
|
219
246
|
|
|
220
247
|
# Builds the object from hash
|
|
@@ -18,7 +18,7 @@ module TrinsicApi
|
|
|
18
18
|
# The ID of the newly-created Acceptance Session
|
|
19
19
|
attr_accessor :session_id
|
|
20
20
|
|
|
21
|
-
# The URL that should be used to launch the Hosted Provider Session on your user's device.
|
|
21
|
+
# The URL that should be used to launch the Hosted Provider Session on your user's device. Redirect the user's browser to the `LaunchUrl` as a top-level navigation This URL is sensitive and as such can only be obtained once. If you need to obtain it again, you will need to create a new Acceptance Session.
|
|
22
22
|
attr_accessor :launch_url
|
|
23
23
|
|
|
24
24
|
# The `resultsAccessKey` for the Acceptance Session. This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault. Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault. Trinsic cannot access a Session's Data Vault without this key.
|
|
@@ -95,7 +95,10 @@ module TrinsicApi
|
|
|
95
95
|
:'building_apartment',
|
|
96
96
|
:'street_number',
|
|
97
97
|
:'evidence_number',
|
|
98
|
+
:'city',
|
|
98
99
|
:'city_area',
|
|
100
|
+
:'zipcode',
|
|
101
|
+
:'country',
|
|
99
102
|
:'ruian_reference'
|
|
100
103
|
])
|
|
101
104
|
end
|
|
@@ -138,8 +141,6 @@ module TrinsicApi
|
|
|
138
141
|
|
|
139
142
|
if attributes.key?(:'city')
|
|
140
143
|
self.city = attributes[:'city']
|
|
141
|
-
else
|
|
142
|
-
self.city = nil
|
|
143
144
|
end
|
|
144
145
|
|
|
145
146
|
if attributes.key?(:'city_area')
|
|
@@ -148,14 +149,10 @@ module TrinsicApi
|
|
|
148
149
|
|
|
149
150
|
if attributes.key?(:'zipcode')
|
|
150
151
|
self.zipcode = attributes[:'zipcode']
|
|
151
|
-
else
|
|
152
|
-
self.zipcode = nil
|
|
153
152
|
end
|
|
154
153
|
|
|
155
154
|
if attributes.key?(:'country')
|
|
156
155
|
self.country = attributes[:'country']
|
|
157
|
-
else
|
|
158
|
-
self.country = nil
|
|
159
156
|
end
|
|
160
157
|
|
|
161
158
|
if attributes.key?(:'ruian_reference')
|
|
@@ -168,18 +165,6 @@ module TrinsicApi
|
|
|
168
165
|
def list_invalid_properties
|
|
169
166
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
170
167
|
invalid_properties = Array.new
|
|
171
|
-
if @city.nil?
|
|
172
|
-
invalid_properties.push('invalid value for "city", city cannot be nil.')
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
if @zipcode.nil?
|
|
176
|
-
invalid_properties.push('invalid value for "zipcode", zipcode cannot be nil.')
|
|
177
|
-
end
|
|
178
|
-
|
|
179
|
-
if @country.nil?
|
|
180
|
-
invalid_properties.push('invalid value for "country", country cannot be nil.')
|
|
181
|
-
end
|
|
182
|
-
|
|
183
168
|
invalid_properties
|
|
184
169
|
end
|
|
185
170
|
|
|
@@ -187,42 +172,9 @@ module TrinsicApi
|
|
|
187
172
|
# @return true if the model is valid
|
|
188
173
|
def valid?
|
|
189
174
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
190
|
-
return false if @city.nil?
|
|
191
|
-
return false if @zipcode.nil?
|
|
192
|
-
return false if @country.nil?
|
|
193
175
|
true
|
|
194
176
|
end
|
|
195
177
|
|
|
196
|
-
# Custom attribute writer method with validation
|
|
197
|
-
# @param [Object] city Value to be assigned
|
|
198
|
-
def city=(city)
|
|
199
|
-
if city.nil?
|
|
200
|
-
fail ArgumentError, 'city cannot be nil'
|
|
201
|
-
end
|
|
202
|
-
|
|
203
|
-
@city = city
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
# Custom attribute writer method with validation
|
|
207
|
-
# @param [Object] zipcode Value to be assigned
|
|
208
|
-
def zipcode=(zipcode)
|
|
209
|
-
if zipcode.nil?
|
|
210
|
-
fail ArgumentError, 'zipcode cannot be nil'
|
|
211
|
-
end
|
|
212
|
-
|
|
213
|
-
@zipcode = zipcode
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
# Custom attribute writer method with validation
|
|
217
|
-
# @param [Object] country Value to be assigned
|
|
218
|
-
def country=(country)
|
|
219
|
-
if country.nil?
|
|
220
|
-
fail ArgumentError, 'country cannot be nil'
|
|
221
|
-
end
|
|
222
|
-
|
|
223
|
-
@country = country
|
|
224
|
-
end
|
|
225
|
-
|
|
226
178
|
# Checks equality by comparing each attribute.
|
|
227
179
|
# @param [Object] Object to be compared
|
|
228
180
|
def ==(o)
|
|
@@ -75,7 +75,11 @@ module TrinsicApi
|
|
|
75
75
|
# List of attributes with nullable: true
|
|
76
76
|
def self.openapi_nullable
|
|
77
77
|
Set.new([
|
|
78
|
+
:'type',
|
|
78
79
|
:'description',
|
|
80
|
+
:'country',
|
|
81
|
+
:'number',
|
|
82
|
+
:'valid_to',
|
|
79
83
|
:'issuer',
|
|
80
84
|
:'issue_date'
|
|
81
85
|
])
|
|
@@ -99,8 +103,6 @@ module TrinsicApi
|
|
|
99
103
|
|
|
100
104
|
if attributes.key?(:'type')
|
|
101
105
|
self.type = attributes[:'type']
|
|
102
|
-
else
|
|
103
|
-
self.type = nil
|
|
104
106
|
end
|
|
105
107
|
|
|
106
108
|
if attributes.key?(:'description')
|
|
@@ -109,20 +111,14 @@ module TrinsicApi
|
|
|
109
111
|
|
|
110
112
|
if attributes.key?(:'country')
|
|
111
113
|
self.country = attributes[:'country']
|
|
112
|
-
else
|
|
113
|
-
self.country = nil
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
if attributes.key?(:'number')
|
|
117
117
|
self.number = attributes[:'number']
|
|
118
|
-
else
|
|
119
|
-
self.number = nil
|
|
120
118
|
end
|
|
121
119
|
|
|
122
120
|
if attributes.key?(:'valid_to')
|
|
123
121
|
self.valid_to = attributes[:'valid_to']
|
|
124
|
-
else
|
|
125
|
-
self.valid_to = nil
|
|
126
122
|
end
|
|
127
123
|
|
|
128
124
|
if attributes.key?(:'issuer')
|
|
@@ -139,22 +135,6 @@ module TrinsicApi
|
|
|
139
135
|
def list_invalid_properties
|
|
140
136
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
141
137
|
invalid_properties = Array.new
|
|
142
|
-
if @type.nil?
|
|
143
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
if @country.nil?
|
|
147
|
-
invalid_properties.push('invalid value for "country", country cannot be nil.')
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
if @number.nil?
|
|
151
|
-
invalid_properties.push('invalid value for "number", number cannot be nil.')
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
if @valid_to.nil?
|
|
155
|
-
invalid_properties.push('invalid value for "valid_to", valid_to cannot be nil.')
|
|
156
|
-
end
|
|
157
|
-
|
|
158
138
|
invalid_properties
|
|
159
139
|
end
|
|
160
140
|
|
|
@@ -162,53 +142,9 @@ module TrinsicApi
|
|
|
162
142
|
# @return true if the model is valid
|
|
163
143
|
def valid?
|
|
164
144
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
165
|
-
return false if @type.nil?
|
|
166
|
-
return false if @country.nil?
|
|
167
|
-
return false if @number.nil?
|
|
168
|
-
return false if @valid_to.nil?
|
|
169
145
|
true
|
|
170
146
|
end
|
|
171
147
|
|
|
172
|
-
# Custom attribute writer method with validation
|
|
173
|
-
# @param [Object] type Value to be assigned
|
|
174
|
-
def type=(type)
|
|
175
|
-
if type.nil?
|
|
176
|
-
fail ArgumentError, 'type cannot be nil'
|
|
177
|
-
end
|
|
178
|
-
|
|
179
|
-
@type = type
|
|
180
|
-
end
|
|
181
|
-
|
|
182
|
-
# Custom attribute writer method with validation
|
|
183
|
-
# @param [Object] country Value to be assigned
|
|
184
|
-
def country=(country)
|
|
185
|
-
if country.nil?
|
|
186
|
-
fail ArgumentError, 'country cannot be nil'
|
|
187
|
-
end
|
|
188
|
-
|
|
189
|
-
@country = country
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
# Custom attribute writer method with validation
|
|
193
|
-
# @param [Object] number Value to be assigned
|
|
194
|
-
def number=(number)
|
|
195
|
-
if number.nil?
|
|
196
|
-
fail ArgumentError, 'number cannot be nil'
|
|
197
|
-
end
|
|
198
|
-
|
|
199
|
-
@number = number
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
# Custom attribute writer method with validation
|
|
203
|
-
# @param [Object] valid_to Value to be assigned
|
|
204
|
-
def valid_to=(valid_to)
|
|
205
|
-
if valid_to.nil?
|
|
206
|
-
fail ArgumentError, 'valid_to cannot be nil'
|
|
207
|
-
end
|
|
208
|
-
|
|
209
|
-
@valid_to = valid_to
|
|
210
|
-
end
|
|
211
|
-
|
|
212
148
|
# Checks equality by comparing each attribute.
|
|
213
149
|
# @param [Object] Object to be compared
|
|
214
150
|
def ==(o)
|