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
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
class TrinsicHPKEMetadata < ApiModelBase
|
|
18
|
+
# 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.
|
|
19
|
+
attr_accessor :mode
|
|
20
|
+
|
|
21
|
+
# 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.
|
|
22
|
+
attr_accessor :kem
|
|
23
|
+
|
|
24
|
+
# The Key Derivation Function (KDF) used for the HPKE handshake. Trinsic currently only supports HKDF-SHA256.
|
|
25
|
+
attr_accessor :kdf
|
|
26
|
+
|
|
27
|
+
# The symmetric encryption cipher used for ciphertext encryption and decryption. Trinsic currently only supports AES-128-GCM.
|
|
28
|
+
attr_accessor :aead
|
|
29
|
+
|
|
30
|
+
# 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.
|
|
31
|
+
attr_accessor :info_hash
|
|
32
|
+
|
|
33
|
+
# 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.
|
|
34
|
+
attr_accessor :recipient_public_key_hash
|
|
35
|
+
|
|
36
|
+
# 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.
|
|
37
|
+
attr_accessor :recipient_public_key_jwk_thumbprint
|
|
38
|
+
|
|
39
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
|
+
def self.attribute_map
|
|
41
|
+
{
|
|
42
|
+
:'mode' => :'mode',
|
|
43
|
+
:'kem' => :'kem',
|
|
44
|
+
:'kdf' => :'kdf',
|
|
45
|
+
:'aead' => :'aead',
|
|
46
|
+
:'info_hash' => :'infoHash',
|
|
47
|
+
:'recipient_public_key_hash' => :'recipientPublicKeyHash',
|
|
48
|
+
:'recipient_public_key_jwk_thumbprint' => :'recipientPublicKeyJwkThumbprint'
|
|
49
|
+
}
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Returns attribute mapping this model knows about
|
|
53
|
+
def self.acceptable_attribute_map
|
|
54
|
+
attribute_map
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Returns all the JSON keys this model knows about
|
|
58
|
+
def self.acceptable_attributes
|
|
59
|
+
acceptable_attribute_map.values
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Attribute type mapping.
|
|
63
|
+
def self.openapi_types
|
|
64
|
+
{
|
|
65
|
+
:'mode' => :'Integer',
|
|
66
|
+
:'kem' => :'Integer',
|
|
67
|
+
:'kdf' => :'Integer',
|
|
68
|
+
:'aead' => :'Integer',
|
|
69
|
+
:'info_hash' => :'String',
|
|
70
|
+
:'recipient_public_key_hash' => :'String',
|
|
71
|
+
:'recipient_public_key_jwk_thumbprint' => :'String'
|
|
72
|
+
}
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# List of attributes with nullable: true
|
|
76
|
+
def self.openapi_nullable
|
|
77
|
+
Set.new([
|
|
78
|
+
])
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Initializes the object
|
|
82
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
83
|
+
def initialize(attributes = {})
|
|
84
|
+
if (!attributes.is_a?(Hash))
|
|
85
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::TrinsicHPKEMetadata` initialize method"
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
89
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
90
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
91
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
92
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::TrinsicHPKEMetadata`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
93
|
+
end
|
|
94
|
+
h[k.to_sym] = v
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'mode')
|
|
98
|
+
self.mode = attributes[:'mode']
|
|
99
|
+
else
|
|
100
|
+
self.mode = nil
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
if attributes.key?(:'kem')
|
|
104
|
+
self.kem = attributes[:'kem']
|
|
105
|
+
else
|
|
106
|
+
self.kem = nil
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'kdf')
|
|
110
|
+
self.kdf = attributes[:'kdf']
|
|
111
|
+
else
|
|
112
|
+
self.kdf = nil
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if attributes.key?(:'aead')
|
|
116
|
+
self.aead = attributes[:'aead']
|
|
117
|
+
else
|
|
118
|
+
self.aead = nil
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
if attributes.key?(:'info_hash')
|
|
122
|
+
self.info_hash = attributes[:'info_hash']
|
|
123
|
+
else
|
|
124
|
+
self.info_hash = nil
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if attributes.key?(:'recipient_public_key_hash')
|
|
128
|
+
self.recipient_public_key_hash = attributes[:'recipient_public_key_hash']
|
|
129
|
+
else
|
|
130
|
+
self.recipient_public_key_hash = nil
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
if attributes.key?(:'recipient_public_key_jwk_thumbprint')
|
|
134
|
+
self.recipient_public_key_jwk_thumbprint = attributes[:'recipient_public_key_jwk_thumbprint']
|
|
135
|
+
else
|
|
136
|
+
self.recipient_public_key_jwk_thumbprint = nil
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
141
|
+
# @return Array for valid properties with the reasons
|
|
142
|
+
def list_invalid_properties
|
|
143
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
144
|
+
invalid_properties = Array.new
|
|
145
|
+
if @mode.nil?
|
|
146
|
+
invalid_properties.push('invalid value for "mode", mode cannot be nil.')
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
if @kem.nil?
|
|
150
|
+
invalid_properties.push('invalid value for "kem", kem cannot be nil.')
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
if @kdf.nil?
|
|
154
|
+
invalid_properties.push('invalid value for "kdf", kdf cannot be nil.')
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if @aead.nil?
|
|
158
|
+
invalid_properties.push('invalid value for "aead", aead cannot be nil.')
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
if @info_hash.nil?
|
|
162
|
+
invalid_properties.push('invalid value for "info_hash", info_hash cannot be nil.')
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
if @recipient_public_key_hash.nil?
|
|
166
|
+
invalid_properties.push('invalid value for "recipient_public_key_hash", recipient_public_key_hash cannot be nil.')
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
if @recipient_public_key_jwk_thumbprint.nil?
|
|
170
|
+
invalid_properties.push('invalid value for "recipient_public_key_jwk_thumbprint", recipient_public_key_jwk_thumbprint cannot be nil.')
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
invalid_properties
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Check to see if the all the properties in the model are valid
|
|
177
|
+
# @return true if the model is valid
|
|
178
|
+
def valid?
|
|
179
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
180
|
+
return false if @mode.nil?
|
|
181
|
+
return false if @kem.nil?
|
|
182
|
+
return false if @kdf.nil?
|
|
183
|
+
return false if @aead.nil?
|
|
184
|
+
return false if @info_hash.nil?
|
|
185
|
+
return false if @recipient_public_key_hash.nil?
|
|
186
|
+
return false if @recipient_public_key_jwk_thumbprint.nil?
|
|
187
|
+
true
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
# Custom attribute writer method with validation
|
|
191
|
+
# @param [Object] mode Value to be assigned
|
|
192
|
+
def mode=(mode)
|
|
193
|
+
if mode.nil?
|
|
194
|
+
fail ArgumentError, 'mode cannot be nil'
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
@mode = mode
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# Custom attribute writer method with validation
|
|
201
|
+
# @param [Object] kem Value to be assigned
|
|
202
|
+
def kem=(kem)
|
|
203
|
+
if kem.nil?
|
|
204
|
+
fail ArgumentError, 'kem cannot be nil'
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
@kem = kem
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
# Custom attribute writer method with validation
|
|
211
|
+
# @param [Object] kdf Value to be assigned
|
|
212
|
+
def kdf=(kdf)
|
|
213
|
+
if kdf.nil?
|
|
214
|
+
fail ArgumentError, 'kdf cannot be nil'
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
@kdf = kdf
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Custom attribute writer method with validation
|
|
221
|
+
# @param [Object] aead Value to be assigned
|
|
222
|
+
def aead=(aead)
|
|
223
|
+
if aead.nil?
|
|
224
|
+
fail ArgumentError, 'aead cannot be nil'
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
@aead = aead
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Custom attribute writer method with validation
|
|
231
|
+
# @param [Object] info_hash Value to be assigned
|
|
232
|
+
def info_hash=(info_hash)
|
|
233
|
+
if info_hash.nil?
|
|
234
|
+
fail ArgumentError, 'info_hash cannot be nil'
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
@info_hash = info_hash
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
# Custom attribute writer method with validation
|
|
241
|
+
# @param [Object] recipient_public_key_hash Value to be assigned
|
|
242
|
+
def recipient_public_key_hash=(recipient_public_key_hash)
|
|
243
|
+
if recipient_public_key_hash.nil?
|
|
244
|
+
fail ArgumentError, 'recipient_public_key_hash cannot be nil'
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
@recipient_public_key_hash = recipient_public_key_hash
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# Custom attribute writer method with validation
|
|
251
|
+
# @param [Object] recipient_public_key_jwk_thumbprint Value to be assigned
|
|
252
|
+
def recipient_public_key_jwk_thumbprint=(recipient_public_key_jwk_thumbprint)
|
|
253
|
+
if recipient_public_key_jwk_thumbprint.nil?
|
|
254
|
+
fail ArgumentError, 'recipient_public_key_jwk_thumbprint cannot be nil'
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
@recipient_public_key_jwk_thumbprint = recipient_public_key_jwk_thumbprint
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
# Checks equality by comparing each attribute.
|
|
261
|
+
# @param [Object] Object to be compared
|
|
262
|
+
def ==(o)
|
|
263
|
+
return true if self.equal?(o)
|
|
264
|
+
self.class == o.class &&
|
|
265
|
+
mode == o.mode &&
|
|
266
|
+
kem == o.kem &&
|
|
267
|
+
kdf == o.kdf &&
|
|
268
|
+
aead == o.aead &&
|
|
269
|
+
info_hash == o.info_hash &&
|
|
270
|
+
recipient_public_key_hash == o.recipient_public_key_hash &&
|
|
271
|
+
recipient_public_key_jwk_thumbprint == o.recipient_public_key_jwk_thumbprint
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# @see the `==` method
|
|
275
|
+
# @param [Object] Object to be compared
|
|
276
|
+
def eql?(o)
|
|
277
|
+
self == o
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
# Calculates hash code according to all attributes.
|
|
281
|
+
# @return [Integer] Hash code
|
|
282
|
+
def hash
|
|
283
|
+
[mode, kem, kdf, aead, info_hash, recipient_public_key_hash, recipient_public_key_jwk_thumbprint].hash
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# Builds the object from hash
|
|
287
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
288
|
+
# @return [Object] Returns the model itself
|
|
289
|
+
def self.build_from_hash(attributes)
|
|
290
|
+
return nil unless attributes.is_a?(Hash)
|
|
291
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
292
|
+
transformed_hash = {}
|
|
293
|
+
openapi_types.each_pair do |key, type|
|
|
294
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
295
|
+
transformed_hash["#{key}"] = nil
|
|
296
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
297
|
+
# check to ensure the input is an array given that the attribute
|
|
298
|
+
# is documented as an array but the input is not
|
|
299
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
300
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
301
|
+
end
|
|
302
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
303
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
304
|
+
end
|
|
305
|
+
end
|
|
306
|
+
new(transformed_hash)
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Returns the object in the form of hash
|
|
310
|
+
# @return [Hash] Returns the object in the form of hash
|
|
311
|
+
def to_hash
|
|
312
|
+
hash = {}
|
|
313
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
314
|
+
value = self.send(attr)
|
|
315
|
+
if value.nil?
|
|
316
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
317
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
hash[param] = _to_hash(value)
|
|
321
|
+
end
|
|
322
|
+
hash
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
end
|
|
@@ -24,7 +24,7 @@ module TrinsicApi
|
|
|
24
24
|
# 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.
|
|
25
25
|
attr_accessor :identity_code
|
|
26
26
|
|
|
27
|
-
# An optional selfie image
|
|
27
|
+
# An optional selfie image in a Base64 string. Will replace the existing test selfie attachment output if provided.
|
|
28
28
|
attr_accessor :selfie_base64
|
|
29
29
|
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|
|
@@ -56,6 +56,9 @@ module TrinsicApi
|
|
|
56
56
|
# List of attributes with nullable: true
|
|
57
57
|
def self.openapi_nullable
|
|
58
58
|
Set.new([
|
|
59
|
+
:'national_id_number',
|
|
60
|
+
:'secondary_id_number',
|
|
61
|
+
:'date_of_birth'
|
|
59
62
|
])
|
|
60
63
|
end
|
|
61
64
|
|
|
@@ -77,20 +80,14 @@ module TrinsicApi
|
|
|
77
80
|
|
|
78
81
|
if attributes.key?(:'national_id_number')
|
|
79
82
|
self.national_id_number = attributes[:'national_id_number']
|
|
80
|
-
else
|
|
81
|
-
self.national_id_number = nil
|
|
82
83
|
end
|
|
83
84
|
|
|
84
85
|
if attributes.key?(:'secondary_id_number')
|
|
85
86
|
self.secondary_id_number = attributes[:'secondary_id_number']
|
|
86
|
-
else
|
|
87
|
-
self.secondary_id_number = nil
|
|
88
87
|
end
|
|
89
88
|
|
|
90
89
|
if attributes.key?(:'date_of_birth')
|
|
91
90
|
self.date_of_birth = attributes[:'date_of_birth']
|
|
92
|
-
else
|
|
93
|
-
self.date_of_birth = nil
|
|
94
91
|
end
|
|
95
92
|
end
|
|
96
93
|
|
|
@@ -99,18 +96,6 @@ module TrinsicApi
|
|
|
99
96
|
def list_invalid_properties
|
|
100
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
101
98
|
invalid_properties = Array.new
|
|
102
|
-
if @national_id_number.nil?
|
|
103
|
-
invalid_properties.push('invalid value for "national_id_number", national_id_number cannot be nil.')
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if @secondary_id_number.nil?
|
|
107
|
-
invalid_properties.push('invalid value for "secondary_id_number", secondary_id_number cannot be nil.')
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if @date_of_birth.nil?
|
|
111
|
-
invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
|
|
112
|
-
end
|
|
113
|
-
|
|
114
99
|
invalid_properties
|
|
115
100
|
end
|
|
116
101
|
|
|
@@ -118,42 +103,9 @@ module TrinsicApi
|
|
|
118
103
|
# @return true if the model is valid
|
|
119
104
|
def valid?
|
|
120
105
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
121
|
-
return false if @national_id_number.nil?
|
|
122
|
-
return false if @secondary_id_number.nil?
|
|
123
|
-
return false if @date_of_birth.nil?
|
|
124
106
|
true
|
|
125
107
|
end
|
|
126
108
|
|
|
127
|
-
# Custom attribute writer method with validation
|
|
128
|
-
# @param [Object] national_id_number Value to be assigned
|
|
129
|
-
def national_id_number=(national_id_number)
|
|
130
|
-
if national_id_number.nil?
|
|
131
|
-
fail ArgumentError, 'national_id_number cannot be nil'
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
@national_id_number = national_id_number
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
# Custom attribute writer method with validation
|
|
138
|
-
# @param [Object] secondary_id_number Value to be assigned
|
|
139
|
-
def secondary_id_number=(secondary_id_number)
|
|
140
|
-
if secondary_id_number.nil?
|
|
141
|
-
fail ArgumentError, 'secondary_id_number cannot be nil'
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
@secondary_id_number = secondary_id_number
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object] date_of_birth Value to be assigned
|
|
149
|
-
def date_of_birth=(date_of_birth)
|
|
150
|
-
if date_of_birth.nil?
|
|
151
|
-
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@date_of_birth = date_of_birth
|
|
155
|
-
end
|
|
156
|
-
|
|
157
109
|
# Checks equality by comparing each attribute.
|
|
158
110
|
# @param [Object] Object to be compared
|
|
159
111
|
def ==(o)
|
|
@@ -50,6 +50,8 @@ module TrinsicApi
|
|
|
50
50
|
# List of attributes with nullable: true
|
|
51
51
|
def self.openapi_nullable
|
|
52
52
|
Set.new([
|
|
53
|
+
:'input_value',
|
|
54
|
+
:'outcome'
|
|
53
55
|
])
|
|
54
56
|
end
|
|
55
57
|
|
|
@@ -71,14 +73,10 @@ module TrinsicApi
|
|
|
71
73
|
|
|
72
74
|
if attributes.key?(:'input_value')
|
|
73
75
|
self.input_value = attributes[:'input_value']
|
|
74
|
-
else
|
|
75
|
-
self.input_value = nil
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
if attributes.key?(:'outcome')
|
|
79
79
|
self.outcome = attributes[:'outcome']
|
|
80
|
-
else
|
|
81
|
-
self.outcome = nil
|
|
82
80
|
end
|
|
83
81
|
end
|
|
84
82
|
|
|
@@ -87,14 +85,6 @@ module TrinsicApi
|
|
|
87
85
|
def list_invalid_properties
|
|
88
86
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
89
87
|
invalid_properties = Array.new
|
|
90
|
-
if @input_value.nil?
|
|
91
|
-
invalid_properties.push('invalid value for "input_value", input_value cannot be nil.')
|
|
92
|
-
end
|
|
93
|
-
|
|
94
|
-
if @outcome.nil?
|
|
95
|
-
invalid_properties.push('invalid value for "outcome", outcome cannot be nil.')
|
|
96
|
-
end
|
|
97
|
-
|
|
98
88
|
invalid_properties
|
|
99
89
|
end
|
|
100
90
|
|
|
@@ -102,31 +92,9 @@ module TrinsicApi
|
|
|
102
92
|
# @return true if the model is valid
|
|
103
93
|
def valid?
|
|
104
94
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
105
|
-
return false if @input_value.nil?
|
|
106
|
-
return false if @outcome.nil?
|
|
107
95
|
true
|
|
108
96
|
end
|
|
109
97
|
|
|
110
|
-
# Custom attribute writer method with validation
|
|
111
|
-
# @param [Object] input_value Value to be assigned
|
|
112
|
-
def input_value=(input_value)
|
|
113
|
-
if input_value.nil?
|
|
114
|
-
fail ArgumentError, 'input_value cannot be nil'
|
|
115
|
-
end
|
|
116
|
-
|
|
117
|
-
@input_value = input_value
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Custom attribute writer method with validation
|
|
121
|
-
# @param [Object] outcome Value to be assigned
|
|
122
|
-
def outcome=(outcome)
|
|
123
|
-
if outcome.nil?
|
|
124
|
-
fail ArgumentError, 'outcome cannot be nil'
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
@outcome = outcome
|
|
128
|
-
end
|
|
129
|
-
|
|
130
98
|
# Checks equality by comparing each attribute.
|
|
131
99
|
# @param [Object] Object to be compared
|
|
132
100
|
def ==(o)
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
class UkEvisaLookupInput < ApiModelBase
|
|
18
|
-
# The 9-character share code.
|
|
18
|
+
# 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.
|
|
19
19
|
attr_accessor :share_code
|
|
20
20
|
|
|
21
21
|
# The user's date of birth, in `YYYY-MM-DD` format.
|