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
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **is_billable** | **Boolean** | Whether this SPID verification has resulted in a billable event. |
|
|
8
|
-
| **verification_type** | **String** | The billable verification type for this SPID verification. Possible values: \"Authentication\" | \"Registration\" |
|
|
9
|
-
| **verification_level** | **Integer** | The billable verification level for this SPID verification. Possible values: 1 | 2 | 3 |
|
|
7
|
+
| **is_billable** | **Boolean** | Whether this SPID verification has resulted in a billable event. | [optional] |
|
|
8
|
+
| **verification_type** | **String** | The billable verification type for this SPID verification. Possible values: \"Authentication\" | \"Registration\" | [optional] |
|
|
9
|
+
| **verification_level** | **Integer** | The billable verification level for this SPID verification. Possible values: 1 | 2 | 3 | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
data/docs/SpidProviderOutput.md
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **billing_information** | [**SpidBillingInformation**](SpidBillingInformation.md) | Information about the billable status of this SPID Verification. Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this. | [optional] |
|
|
8
|
-
| **identity_provider_entity_id** | **String** | The SPID Entity ID of the Identity Provider which issued the SPID identity. This is an HTTPS URI which uniquely identifies the IdP within the SPID federation. A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model. |
|
|
9
|
-
| **spid_code** | **String** | The identifier of the SPID credential, uniquely identifying it within the SPID federation. The format of this string is specific to each individual Identity Provider. |
|
|
8
|
+
| **identity_provider_entity_id** | **String** | The SPID Entity ID of the Identity Provider which issued the SPID identity. This is an HTTPS URI which uniquely identifies the IdP within the SPID federation. A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model. | [optional] |
|
|
9
|
+
| **spid_code** | **String** | The identifier of the SPID credential, uniquely identifying it within the SPID federation. The format of this string is specific to each individual Identity Provider. | [optional] |
|
|
10
10
|
| **spid_credential_expiration_date** | **Date** | Expiration date of the SPID credential. This is not the same as the expiration date of the underlying identity document (such as a passport) which was used to create the SPID identity. | [optional] |
|
|
11
11
|
| **raw_id_card** | **String** | The raw, space-separated string value for the \"IdCard\" field from the SPID credential. Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model. | [optional] |
|
|
12
12
|
| **given_name** | **String** | The individual's first / given name(s) | [optional] |
|
data/docs/SubProviderMetadata.md
CHANGED
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
| **id** | **String** | The ID of the sub-provider. This cannot be used as a standalone Provider ID when creating a Session. It must be passed in via the Provider-specific input. | |
|
|
8
8
|
| **name** | **String** | The name of the sub-provider | |
|
|
9
9
|
| **subtext** | **String** | The Provider's subtext recommended to be shown next to the name. This is flavor text, not a full, human-readable description of the provider. | |
|
|
10
|
-
| **logo_url** | **String** | A URL pointing to the logo on Trinsic's CDN.
|
|
10
|
+
| **logo_url** | **String** | A URL pointing to the logo on Trinsic's CDN. It may be a PNG, JPG, or SVG image. | |
|
|
11
|
+
| **dark_mode_logo_url** | **String** | An optional URL pointing to a dark mode logo on Trinsic's CDN. It may be a PNG, JPG, or SVG image. If omitted, use LogoUrl in dark mode. | [optional] |
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,7 +19,8 @@ instance = TrinsicApi::SubProviderMetadata.new(
|
|
|
18
19
|
id: null,
|
|
19
20
|
name: null,
|
|
20
21
|
subtext: dmv.ca.gov,
|
|
21
|
-
logo_url: null
|
|
22
|
+
logo_url: null,
|
|
23
|
+
dark_mode_logo_url: null
|
|
22
24
|
)
|
|
23
25
|
```
|
|
24
26
|
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **full_name** | **String** | The full name of the individual. | [optional] |
|
|
8
|
-
| **date_of_birth** | **Date** | The date of birth
|
|
8
|
+
| **date_of_birth** | **Date** | The individual's date of birth in YYYY-MM-DD format. | [optional] |
|
|
9
|
+
| **sex** | **String** | The individual's sex, derived from the personal identity number. Values are Male or Female. | [optional] |
|
|
10
|
+
| **sub** | **String** | The OpenID Connect sub claim, when returned in the provider response. The value starts with the se_bankid: prefix followed by the subject identifier. | [optional] |
|
|
9
11
|
| **personal_identity_number** | **String** | The Swedish personal number (personnummer) associated with the verified individual. The value is typically a 12-digit number. This is in the format YYYYMMDDXXXX, where: - YYYYMMDD is the date of birth. - XXXX is an individual number, indicating gender. If XXXX is even, the individual is female. If XXXX is odd, the individual is male. | [optional] |
|
|
10
12
|
| **given_name** | **String** | The given name of the individual | [optional] |
|
|
11
13
|
| **family_name** | **String** | The family name of the individual | [optional] |
|
|
@@ -25,8 +27,10 @@ require 'trinsic_api'
|
|
|
25
27
|
|
|
26
28
|
instance = TrinsicApi::SwedenBankIdProviderOutput.new(
|
|
27
29
|
full_name: Ove Henriksen,
|
|
28
|
-
date_of_birth:
|
|
29
|
-
|
|
30
|
+
date_of_birth: Fri Apr 12 00:00:00 UTC 1985,
|
|
31
|
+
sex: Male,
|
|
32
|
+
sub: se_bankid:8f27c1a6-5d93-4eb0-a762-3c9016d4b8ef,
|
|
33
|
+
personal_identity_number: 202001011234,
|
|
30
34
|
given_name: Ove,
|
|
31
35
|
family_name: Henriksen,
|
|
32
36
|
country: SE,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# TrinsicApi::TrinsicHPKEBundle
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **trinsic_hpke_version** | **Integer** | The version of the Trinsic HPKE Exchange Protocol in use. Always `1` at this time. | |
|
|
8
|
+
| **metadata** | [**TrinsicHPKEMetadata**](TrinsicHPKEMetadata.md) | Information about the HPKE parameters in use. Trinsic currently supports a fixed set of HPKE parameters: - Mode: Basic - KEM: DHKEM(P256, HKDF-SHA256) - KDF: HKDF-SHA256 - AEAD: AES-128-GCM | |
|
|
9
|
+
| **ephemeral_sender_public_key** | **String** | Corresponds to the `enc` parameter of HPKE. The raw bytes, in a format unique to the chosen HPKE KEM, of the ephemeral sender public key for this single-shot HPKE exchange. Because Trinsic only supports DHKEM(P256, HKDF-SHA256), this is always a 65-byte array with the following format: [0x04][XCoord][YCoord] Where [0x04] is a single byte with value `4`, and [XCoord] / [YCoord] are each 32-byte X/Y coordinates of a P-256 public key. | |
|
|
10
|
+
| **ciphertext** | **String** | Corresponds to the `ct` parameter of HPKE. The encrypted ciphertext for this HPKE single-shot message. Because Trinsic only supports AES-128-GCM, this byte array always has an exact format: [CipherText][Tag] Where [ciphertext] is a variable-length array of bytes, and [tag] is a 16-length byte array. | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'trinsic_api'
|
|
16
|
+
|
|
17
|
+
instance = TrinsicApi::TrinsicHPKEBundle.new(
|
|
18
|
+
trinsic_hpke_version: null,
|
|
19
|
+
metadata: null,
|
|
20
|
+
ephemeral_sender_public_key: null,
|
|
21
|
+
ciphertext: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# TrinsicApi::TrinsicHPKEMetadata
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **mode** | **Integer** | The HPKE mode in use. Trinsic only currently supports the Basic mode. There are four modes defined in the HPKE specification: - Basic (0): Sender is not authenticated - PSK (1): Sender is authenticated by proving possession of a Pre-Shared Key (byte array) which the recipient also knows. - Auth (2): Sender is authenticated by proving possession of a Private Key, for which the recipient knows the corresponding Public Key. - AuthPSK (3): Sender is authenticated by proving possession of both a Pre-Shared Key and a Private Key. | |
|
|
8
|
+
| **kem** | **Integer** | The Key Encapsulation Mechanism (KEM) used for the HPKE handshake. Trinsic currently only supports the DHKEM(P256, HKDF-SHA256) KEM, meaning that only P-256 keys are supported. | |
|
|
9
|
+
| **kdf** | **Integer** | The Key Derivation Function (KDF) used for the HPKE handshake. Trinsic currently only supports HKDF-SHA256. | |
|
|
10
|
+
| **aead** | **Integer** | The symmetric encryption cipher used for ciphertext encryption and decryption. Trinsic currently only supports AES-128-GCM. | |
|
|
11
|
+
| **info_hash** | **String** | SHA-256 hash of the `info` parameter used during HPKE encryption. This is not used in HPKE directly. This is provided as a helper for debugging and development purposes, to verify that the same `info` hash is being used by both Trinsic and your integration. | |
|
|
12
|
+
| **recipient_public_key_hash** | **String** | SHA-256 hash of the recipient's P-256 public key in raw uncompressed point encoding ([0x04][X][Y]). This is not used in HPKE directly. Use this to verify that an HPKE message was encrypted against your public key, and/or to identify which of your keys a message was encrypted against, before proceeding with decryption. This and `recipientPublicKeyJwkThumbprint` are both effectively hashes of the recipient's (your) public key. Either is appropriate to use for the same purpose. | |
|
|
13
|
+
| **recipient_public_key_jwk_thumbprint** | **String** | JWK Thumbprint of the recipient's P-256 public key, in base64url encoding. This is not used in HPKE directly. Use this to verify that an HPKE message was encrypted against your public key, and/or to identify which of your keys a message was encrypted against, before proceeding with decryption. This and `recipientPublicKeyHash` are both effectively hashes of the recipient's (your) public key. Either is appropriate to use for the same purpose. | |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'trinsic_api'
|
|
19
|
+
|
|
20
|
+
instance = TrinsicApi::TrinsicHPKEMetadata.new(
|
|
21
|
+
mode: null,
|
|
22
|
+
kem: null,
|
|
23
|
+
kdf: null,
|
|
24
|
+
aead: null,
|
|
25
|
+
info_hash: null,
|
|
26
|
+
recipient_public_key_hash: null,
|
|
27
|
+
recipient_public_key_jwk_thumbprint: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
| **given_name** | **String** | The given name to use for the output of the test Session. This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it from the user. Can be any non-empty value. | [optional] |
|
|
8
8
|
| **family_name** | **String** | The family name to use for the output of the test Session. This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it from the user. Can be any non-empty value. | [optional] |
|
|
9
9
|
| **identity_code** | **String** | A 6-digit code; must be \"123456\" for the Session to succeed. This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it from the user. Any other value will cause the Session to fail. | [optional] |
|
|
10
|
-
| **selfie_base64** | **String** | An optional selfie image
|
|
10
|
+
| **selfie_base64** | **String** | An optional selfie image in a Base64 string. Will replace the existing test selfie attachment output if provided. | [optional] |
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **input_value** | **Date** | The date of birth submitted for this check. |
|
|
8
|
-
| **outcome** | **String** | The outcome of comparing the submitted date of birth with NIRA database. For Uganda match, partial or transposed outcomes are not used; matching is exact or no match. Possible values: - Exact Match - No Match - Not Returned |
|
|
7
|
+
| **input_value** | **Date** | The date of birth submitted for this check. | [optional] |
|
|
8
|
+
| **outcome** | **String** | The outcome of comparing the submitted date of birth with NIRA database. For Uganda match, partial or transposed outcomes are not used; matching is exact or no match. Possible values: - Exact Match - No Match - Not Returned | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **input_value** | **String** | Uganda National ID number (NID) assigned by the National Identification and Registration Authority (NIRA). Format: - 14 alphanumeric characters (A-Z, 0-9) - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by NIRA |
|
|
8
|
-
| **outcome** | **String** | The outcome of looking up the NID in NIRA database. Possible values: - Verified - Not Verified - Not Done - Issuer Unavailable - Not Returned |
|
|
7
|
+
| **input_value** | **String** | Uganda National ID number (NID) assigned by the National Identification and Registration Authority (NIRA). Format: - 14 alphanumeric characters (A-Z, 0-9) - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by NIRA | [optional] |
|
|
8
|
+
| **outcome** | **String** | The outcome of looking up the NID in NIRA database. Possible values: - Verified - Not Verified - Not Done - Issuer Unavailable - Not Returned | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **national_id_number** | [**UgandaNidMatch2NationalIdNumberField**](UgandaNidMatch2NationalIdNumberField.md) | Outcome of verifying the national identification number in the NIRA database. |
|
|
8
|
-
| **secondary_id_number** | [**UgandaNidMatch2SecondaryIdNumberField**](UgandaNidMatch2SecondaryIdNumberField.md) | Outcome of comparing the submitted card number with the NIRA database. |
|
|
9
|
-
| **date_of_birth** | [**UgandaNidMatch2DateOfBirthField**](UgandaNidMatch2DateOfBirthField.md) | Outcome of comparing the submitted date of birth with the NIRA database. |
|
|
7
|
+
| **national_id_number** | [**UgandaNidMatch2NationalIdNumberField**](UgandaNidMatch2NationalIdNumberField.md) | Outcome of verifying the national identification number in the NIRA database. | [optional] |
|
|
8
|
+
| **secondary_id_number** | [**UgandaNidMatch2SecondaryIdNumberField**](UgandaNidMatch2SecondaryIdNumberField.md) | Outcome of comparing the submitted card number with the NIRA database. | [optional] |
|
|
9
|
+
| **date_of_birth** | [**UgandaNidMatch2DateOfBirthField**](UgandaNidMatch2DateOfBirthField.md) | Outcome of comparing the submitted date of birth with the NIRA database. | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **input_value** | **String** | The card number on the national ID document, distinct from the National ID number. Format: - 9 numeric digits - There is no publicly documented encoding scheme for encoding personal information in the card number - No check digit or algorithm has been publicly documented by NIRA |
|
|
8
|
-
| **outcome** | **String** | The outcome of comparing the submitted card number with NIRA database. Possible values: - Exact Match - No Match - Not Returned |
|
|
7
|
+
| **input_value** | **String** | The card number on the national ID document, distinct from the National ID number. Format: - 9 numeric digits - There is no publicly documented encoding scheme for encoding personal information in the card number - No check digit or algorithm has been publicly documented by NIRA | [optional] |
|
|
8
|
+
| **outcome** | **String** | The outcome of comparing the submitted card number with NIRA database. Possible values: - Exact Match - No Match - Not Returned | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
data/docs/UkEvisaLookupInput.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **share_code** | **String** | The 9-character share code. | |
|
|
7
|
+
| **share_code** | **String** | The 9-character alphanumeric UK Visas and Immigration (UKVI) share code. Must start with W for right to work, R for right to rent, or S for immigration status, matching the configured lookup type. Whitespace is removed and lowercase ASCII letters are converted to uppercase. | |
|
|
8
8
|
| **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format. | |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# TrinsicApi::UsaArizonaWalletInput
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **preview_raw18013_request** | [**Raw18013RequestInput**](Raw18013RequestInput.md) | The raw 18013-7 exchange request to use for this verification. If set, this overrides any default configuration on your Verification Profile. | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'trinsic_api'
|
|
13
|
+
|
|
14
|
+
instance = TrinsicApi::UsaArizonaWalletInput.new(
|
|
15
|
+
preview_raw18013_request: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **_alias** | **String** | An alias of the verification profile shown to developers and administrators. | |
|
|
9
9
|
| **brand_name** | **String** | The brand name of the verification profile shown to end-users. | |
|
|
10
10
|
| **external_id** | **String** | A customer-defined external ID for this verification profile, unique within your organization. | [optional] |
|
|
11
|
+
| **geography** | **String** | The data-residency geography of the verification profile, such as \"US\" or \"EU\". | |
|
|
11
12
|
| **logo_url** | **String** | The URL of the verification profile's logo. | |
|
|
12
13
|
| **primary_color** | **String** | The primary color of the verification profile. | |
|
|
13
14
|
| **enabled_providers** | **Array<String>** | The providers that are currently enabled for the verification profile. | |
|
|
@@ -24,6 +25,7 @@ instance = TrinsicApi::VerificationProfileResponse.new(
|
|
|
24
25
|
_alias: null,
|
|
25
26
|
brand_name: null,
|
|
26
27
|
external_id: null,
|
|
28
|
+
geography: US,
|
|
27
29
|
logo_url: null,
|
|
28
30
|
primary_color: null,
|
|
29
31
|
enabled_providers: null,
|
|
@@ -257,7 +257,8 @@ end
|
|
|
257
257
|
api_instance = TrinsicApi::VerificationProfilesApi.new
|
|
258
258
|
opts = {
|
|
259
259
|
page: 56, # Integer |
|
|
260
|
-
page_size: 56 # Integer | Size of the list to be returned. Accepted range from 1 to 100
|
|
260
|
+
page_size: 56, # Integer | Size of the list to be returned. Accepted range from 1 to 100
|
|
261
|
+
geography: 'geography_example' # String | Filter by data-residency geography. Accepted values: \"US\", \"EU\" (case-insensitive). Omit to include all geographies.
|
|
261
262
|
}
|
|
262
263
|
|
|
263
264
|
begin
|
|
@@ -293,6 +294,7 @@ end
|
|
|
293
294
|
| ---- | ---- | ----------- | ----- |
|
|
294
295
|
| **page** | **Integer** | | [optional][default to 1] |
|
|
295
296
|
| **page_size** | **Integer** | Size of the list to be returned. Accepted range from 1 to 100 | [optional][default to 20] |
|
|
297
|
+
| **geography** | **String** | Filter by data-residency geography. Accepted values: \"US\", \"EU\" (case-insensitive). Omit to include all geographies. | [optional] |
|
|
296
298
|
|
|
297
299
|
### Return type
|
|
298
300
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **national_id_number** | **String** | Zimbabwe National ID number (NID) issued by the Zimbabwean government. Format: - 8-9 digits followed by 1 letter and 2 digits - Regex: /^[0-9]{8,9}[A-Za-z]\\d{2}$/ - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by the Zimbabwean government |
|
|
8
|
-
| **given_name** | **String** | Given name(s) of the individual. |
|
|
9
|
-
| **family_name** | **String** | Family name of the individual. |
|
|
10
|
-
| **full_name** | **String** | Full name of the individual. |
|
|
11
|
-
| **sex** | **String** | Sex of the individual. Possible values: - Male - Female - Not Applicable - Unknown |
|
|
12
|
-
| **date_of_birth** | **Date** | Date of birth of the individual. |
|
|
7
|
+
| **national_id_number** | **String** | Zimbabwe National ID number (NID) issued by the Zimbabwean government. Format: - 8-9 digits followed by 1 letter and 2 digits - Regex: /^[0-9]{8,9}[A-Za-z]\\d{2}$/ - There is no publicly documented encoding scheme for encoding personal information in the NID - No check digit or algorithm has been publicly documented by the Zimbabwean government | [optional] |
|
|
8
|
+
| **given_name** | **String** | Given name(s) of the individual. | [optional] |
|
|
9
|
+
| **family_name** | **String** | Family name of the individual. | [optional] |
|
|
10
|
+
| **full_name** | **String** | Full name of the individual. | [optional] |
|
|
11
|
+
| **sex** | **String** | Sex of the individual. Possible values: - Male - Female - Not Applicable - Unknown | [optional] |
|
|
12
|
+
| **date_of_birth** | **Date** | Date of birth of the individual. | [optional] |
|
|
13
13
|
| **place_of_birth** | **String** | Place of birth, typically a municipality or city within Zimbabwe. | [optional] |
|
|
14
14
|
| **is_alive** | **Boolean** | Whether individual is reported as alive by the Zimbabwean government. | [optional] |
|
|
15
15
|
| **date_of_death** | **Date** | Date of death of the individual, when available. | [optional] |
|
|
@@ -0,0 +1,156 @@
|
|
|
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 'cgi'
|
|
14
|
+
|
|
15
|
+
module TrinsicApi
|
|
16
|
+
class DeveloperApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Test HPKE Against Arbitrary Key
|
|
23
|
+
# Encrypts the provided data against the given public key using HPKE, and returns the resulting bundle. This is intended for integration testing and development purposes.
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [HPKETestRequest] :hpke_test_request
|
|
26
|
+
# @return [TrinsicHPKEBundle]
|
|
27
|
+
def test_against_arbitrary_key(opts = {})
|
|
28
|
+
data, _status_code, _headers = test_against_arbitrary_key_with_http_info(opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Test HPKE Against Arbitrary Key
|
|
33
|
+
# Encrypts the provided data against the given public key using HPKE, and returns the resulting bundle. This is intended for integration testing and development purposes.
|
|
34
|
+
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [HPKETestRequest] :hpke_test_request
|
|
36
|
+
# @return [Array<(TrinsicHPKEBundle, Integer, Hash)>] TrinsicHPKEBundle data, response status code and response headers
|
|
37
|
+
def test_against_arbitrary_key_with_http_info(opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: DeveloperApi.test_against_arbitrary_key ...'
|
|
40
|
+
end
|
|
41
|
+
# resource path
|
|
42
|
+
local_var_path = '/api/v1/developer/hpke-test'
|
|
43
|
+
|
|
44
|
+
# query parameters
|
|
45
|
+
query_params = opts[:query_params] || {}
|
|
46
|
+
|
|
47
|
+
# header parameters
|
|
48
|
+
header_params = opts[:header_params] || {}
|
|
49
|
+
# HTTP header 'Accept' (if needed)
|
|
50
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
|
|
51
|
+
# HTTP header 'Content-Type'
|
|
52
|
+
content_type = @api_client.select_header_content_type(['application/json', 'text/json', 'application/*+json'])
|
|
53
|
+
if !content_type.nil?
|
|
54
|
+
header_params['Content-Type'] = content_type
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# form parameters
|
|
58
|
+
form_params = opts[:form_params] || {}
|
|
59
|
+
|
|
60
|
+
# http body (model)
|
|
61
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'hpke_test_request'])
|
|
62
|
+
|
|
63
|
+
# return_type
|
|
64
|
+
return_type = opts[:debug_return_type] || 'TrinsicHPKEBundle'
|
|
65
|
+
|
|
66
|
+
# auth_names
|
|
67
|
+
auth_names = opts[:debug_auth_names] || ['Bearer']
|
|
68
|
+
|
|
69
|
+
new_options = opts.merge(
|
|
70
|
+
:operation => :"DeveloperApi.test_against_arbitrary_key",
|
|
71
|
+
:header_params => header_params,
|
|
72
|
+
:query_params => query_params,
|
|
73
|
+
:form_params => form_params,
|
|
74
|
+
:body => post_body,
|
|
75
|
+
:auth_names => auth_names,
|
|
76
|
+
:return_type => return_type
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
80
|
+
if @api_client.config.debugging
|
|
81
|
+
@api_client.config.logger.debug "API called: DeveloperApi#test_against_arbitrary_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
|
+
end
|
|
83
|
+
return data, status_code, headers
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Test HPKE Against Verification Profile Key
|
|
87
|
+
# Encrypts the provided data against the PII encryption key configured on the given verification profile. This is intended for integration testing and development purposes.
|
|
88
|
+
# @param verification_profile_id [String]
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @option opts [HPKETestVPRequest] :hpke_test_vp_request
|
|
91
|
+
# @return [TrinsicHPKEBundle]
|
|
92
|
+
def test_against_verification_profile(verification_profile_id, opts = {})
|
|
93
|
+
data, _status_code, _headers = test_against_verification_profile_with_http_info(verification_profile_id, opts)
|
|
94
|
+
data
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Test HPKE Against Verification Profile Key
|
|
98
|
+
# Encrypts the provided data against the PII encryption key configured on the given verification profile. This is intended for integration testing and development purposes.
|
|
99
|
+
# @param verification_profile_id [String]
|
|
100
|
+
# @param [Hash] opts the optional parameters
|
|
101
|
+
# @option opts [HPKETestVPRequest] :hpke_test_vp_request
|
|
102
|
+
# @return [Array<(TrinsicHPKEBundle, Integer, Hash)>] TrinsicHPKEBundle data, response status code and response headers
|
|
103
|
+
def test_against_verification_profile_with_http_info(verification_profile_id, opts = {})
|
|
104
|
+
if @api_client.config.debugging
|
|
105
|
+
@api_client.config.logger.debug 'Calling API: DeveloperApi.test_against_verification_profile ...'
|
|
106
|
+
end
|
|
107
|
+
# verify the required parameter 'verification_profile_id' is set
|
|
108
|
+
if @api_client.config.client_side_validation && verification_profile_id.nil?
|
|
109
|
+
fail ArgumentError, "Missing the required parameter 'verification_profile_id' when calling DeveloperApi.test_against_verification_profile"
|
|
110
|
+
end
|
|
111
|
+
# resource path
|
|
112
|
+
local_var_path = '/api/v1/developer/hpke-test/{verificationProfileId}'.sub('{' + 'verificationProfileId' + '}', CGI.escape(verification_profile_id.to_s))
|
|
113
|
+
|
|
114
|
+
# query parameters
|
|
115
|
+
query_params = opts[:query_params] || {}
|
|
116
|
+
|
|
117
|
+
# header parameters
|
|
118
|
+
header_params = opts[:header_params] || {}
|
|
119
|
+
# HTTP header 'Accept' (if needed)
|
|
120
|
+
header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json', 'application/problem+json']) unless header_params['Accept']
|
|
121
|
+
# HTTP header 'Content-Type'
|
|
122
|
+
content_type = @api_client.select_header_content_type(['application/json', 'text/json', 'application/*+json'])
|
|
123
|
+
if !content_type.nil?
|
|
124
|
+
header_params['Content-Type'] = content_type
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# form parameters
|
|
128
|
+
form_params = opts[:form_params] || {}
|
|
129
|
+
|
|
130
|
+
# http body (model)
|
|
131
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'hpke_test_vp_request'])
|
|
132
|
+
|
|
133
|
+
# return_type
|
|
134
|
+
return_type = opts[:debug_return_type] || 'TrinsicHPKEBundle'
|
|
135
|
+
|
|
136
|
+
# auth_names
|
|
137
|
+
auth_names = opts[:debug_auth_names] || ['Bearer']
|
|
138
|
+
|
|
139
|
+
new_options = opts.merge(
|
|
140
|
+
:operation => :"DeveloperApi.test_against_verification_profile",
|
|
141
|
+
:header_params => header_params,
|
|
142
|
+
:query_params => query_params,
|
|
143
|
+
:form_params => form_params,
|
|
144
|
+
:body => post_body,
|
|
145
|
+
:auth_names => auth_names,
|
|
146
|
+
:return_type => return_type
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
150
|
+
if @api_client.config.debugging
|
|
151
|
+
@api_client.config.logger.debug "API called: DeveloperApi#test_against_verification_profile\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
152
|
+
end
|
|
153
|
+
return data, status_code, headers
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
end
|
|
@@ -275,6 +275,7 @@ module TrinsicApi
|
|
|
275
275
|
# @param [Hash] opts the optional parameters
|
|
276
276
|
# @option opts [Integer] :page (default to 1)
|
|
277
277
|
# @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100 (default to 20)
|
|
278
|
+
# @option opts [String] :geography Filter by data-residency geography. Accepted values: \"US\", \"EU\" (case-insensitive). Omit to include all geographies.
|
|
278
279
|
# @return [ListVerificationProfilesResponse]
|
|
279
280
|
def list_verification_profiles(opts = {})
|
|
280
281
|
data, _status_code, _headers = list_verification_profiles_with_http_info(opts)
|
|
@@ -286,6 +287,7 @@ module TrinsicApi
|
|
|
286
287
|
# @param [Hash] opts the optional parameters
|
|
287
288
|
# @option opts [Integer] :page (default to 1)
|
|
288
289
|
# @option opts [Integer] :page_size Size of the list to be returned. Accepted range from 1 to 100 (default to 20)
|
|
290
|
+
# @option opts [String] :geography Filter by data-residency geography. Accepted values: \"US\", \"EU\" (case-insensitive). Omit to include all geographies.
|
|
289
291
|
# @return [Array<(ListVerificationProfilesResponse, Integer, Hash)>] ListVerificationProfilesResponse data, response status code and response headers
|
|
290
292
|
def list_verification_profiles_with_http_info(opts = {})
|
|
291
293
|
if @api_client.config.debugging
|
|
@@ -314,6 +316,7 @@ module TrinsicApi
|
|
|
314
316
|
query_params = opts[:query_params] || {}
|
|
315
317
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
316
318
|
query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
|
319
|
+
query_params[:'geography'] = opts[:'geography'] if !opts[:'geography'].nil?
|
|
317
320
|
|
|
318
321
|
# header parameters
|
|
319
322
|
header_params = opts[:header_params] || {}
|
|
@@ -96,6 +96,7 @@ module TrinsicApi
|
|
|
96
96
|
http_method = http_method.to_sym.downcase
|
|
97
97
|
|
|
98
98
|
header_params = @default_headers.merge(opts[:header_params] || {})
|
|
99
|
+
header_params['X-Trinsic-SDK'] = "ruby/3.3.0-alpha2"
|
|
99
100
|
query_params = opts[:query_params] || {}
|
|
100
101
|
form_params = opts[:form_params] || {}
|
|
101
102
|
follow_location = opts[:follow_location] || true
|
|
@@ -52,6 +52,7 @@ module TrinsicApi
|
|
|
52
52
|
def self.openapi_nullable
|
|
53
53
|
Set.new([
|
|
54
54
|
:'language_code',
|
|
55
|
+
:'language_name'
|
|
55
56
|
])
|
|
56
57
|
end
|
|
57
58
|
|
|
@@ -77,8 +78,6 @@ module TrinsicApi
|
|
|
77
78
|
|
|
78
79
|
if attributes.key?(:'language_name')
|
|
79
80
|
self.language_name = attributes[:'language_name']
|
|
80
|
-
else
|
|
81
|
-
self.language_name = nil
|
|
82
81
|
end
|
|
83
82
|
end
|
|
84
83
|
|
|
@@ -87,10 +86,6 @@ module TrinsicApi
|
|
|
87
86
|
def list_invalid_properties
|
|
88
87
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
88
|
invalid_properties = Array.new
|
|
90
|
-
if @language_name.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "language_name", language_name cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
89
|
invalid_properties
|
|
95
90
|
end
|
|
96
91
|
|
|
@@ -98,20 +93,9 @@ module TrinsicApi
|
|
|
98
93
|
# @return true if the model is valid
|
|
99
94
|
def valid?
|
|
100
95
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
101
|
-
return false if @language_name.nil?
|
|
102
96
|
true
|
|
103
97
|
end
|
|
104
98
|
|
|
105
|
-
# Custom attribute writer method with validation
|
|
106
|
-
# @param [Object] language_name Value to be assigned
|
|
107
|
-
def language_name=(language_name)
|
|
108
|
-
if language_name.nil?
|
|
109
|
-
fail ArgumentError, 'language_name cannot be nil'
|
|
110
|
-
end
|
|
111
|
-
|
|
112
|
-
@language_name = language_name
|
|
113
|
-
end
|
|
114
|
-
|
|
115
99
|
# Checks equality by comparing each attribute.
|
|
116
100
|
# @param [Object] Object to be compared
|
|
117
101
|
def ==(o)
|
|
@@ -51,6 +51,8 @@ module TrinsicApi
|
|
|
51
51
|
# List of attributes with nullable: true
|
|
52
52
|
def self.openapi_nullable
|
|
53
53
|
Set.new([
|
|
54
|
+
:'age',
|
|
55
|
+
:'is_over'
|
|
54
56
|
])
|
|
55
57
|
end
|
|
56
58
|
|
|
@@ -72,14 +74,10 @@ module TrinsicApi
|
|
|
72
74
|
|
|
73
75
|
if attributes.key?(:'age')
|
|
74
76
|
self.age = attributes[:'age']
|
|
75
|
-
else
|
|
76
|
-
self.age = nil
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
if attributes.key?(:'is_over')
|
|
80
80
|
self.is_over = attributes[:'is_over']
|
|
81
|
-
else
|
|
82
|
-
self.is_over = nil
|
|
83
81
|
end
|
|
84
82
|
end
|
|
85
83
|
|
|
@@ -88,14 +86,6 @@ module TrinsicApi
|
|
|
88
86
|
def list_invalid_properties
|
|
89
87
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
90
88
|
invalid_properties = Array.new
|
|
91
|
-
if @age.nil?
|
|
92
|
-
invalid_properties.push('invalid value for "age", age cannot be nil.')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if @is_over.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "is_over", is_over cannot be nil.')
|
|
97
|
-
end
|
|
98
|
-
|
|
99
89
|
invalid_properties
|
|
100
90
|
end
|
|
101
91
|
|
|
@@ -103,31 +93,9 @@ module TrinsicApi
|
|
|
103
93
|
# @return true if the model is valid
|
|
104
94
|
def valid?
|
|
105
95
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
106
|
-
return false if @age.nil?
|
|
107
|
-
return false if @is_over.nil?
|
|
108
96
|
true
|
|
109
97
|
end
|
|
110
98
|
|
|
111
|
-
# Custom attribute writer method with validation
|
|
112
|
-
# @param [Object] age Value to be assigned
|
|
113
|
-
def age=(age)
|
|
114
|
-
if age.nil?
|
|
115
|
-
fail ArgumentError, 'age cannot be nil'
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
@age = age
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
# Custom attribute writer method with validation
|
|
122
|
-
# @param [Object] is_over Value to be assigned
|
|
123
|
-
def is_over=(is_over)
|
|
124
|
-
if is_over.nil?
|
|
125
|
-
fail ArgumentError, 'is_over cannot be nil'
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
@is_over = is_over
|
|
129
|
-
end
|
|
130
|
-
|
|
131
99
|
# Checks equality by comparing each attribute.
|
|
132
100
|
# @param [Object] Object to be compared
|
|
133
101
|
def ==(o)
|