trinsic_api 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/docs/AadhaarLanguage.md +1 -1
- data/docs/AgeOverOutput.md +2 -2
- data/docs/AlaskaMobileIdProviderOutput.md +20 -0
- data/docs/AppleWalletDigitalIdBirthDate.md +1 -1
- data/docs/AppleWalletProviderOutput.md +1 -1
- data/docs/AttachmentInfo.md +3 -1
- data/docs/AudkenniProviderOutput.md +3 -3
- data/docs/AustriaHandySignaturProviderOutput.md +2 -2
- data/docs/AustriaValeraEudiSandboxInput.md +18 -0
- data/docs/AustriaValeraEudiSandboxProviderOutput.md +22 -0
- data/docs/BelgiumIdCardProviderOutput.md +4 -4
- data/docs/BoliviaCiProviderOutput.md +4 -4
- data/docs/BrazilBiometricVerificationOutput.md +24 -0
- data/docs/BrazilCnhFacialBiometryOutput.md +1 -1
- data/docs/BrazilCpfCheckInput.md +2 -0
- data/docs/BrazilCpfProviderOutput.md +38 -0
- data/docs/ClearProviderOutput.md +56 -0
- data/docs/ClearProviderOutputAddress.md +28 -0
- data/docs/ClearProviderOutputCheck.md +28 -0
- data/docs/ClearProviderOutputCheckAdditionalDetails.md +18 -0
- data/docs/ClearProviderOutputDocument.md +42 -0
- data/docs/ClearProviderOutputHealthInsurance.md +32 -0
- data/docs/ClearProviderOutputHistoricalAddress.md +36 -0
- data/docs/ClearProviderOutputHistoricalData.md +20 -0
- data/docs/ClearProviderOutputHistoricalName.md +28 -0
- data/docs/ClearProviderOutputLocationInfo.md +30 -0
- data/docs/ClearProviderOutputPartialDate.md +22 -0
- data/docs/ClearProviderOutputSessionInfo.md +28 -0
- data/docs/ClearProviderOutputTraits.md +50 -0
- data/docs/ClearProviderOutputVerifiedEmail.md +22 -0
- data/docs/ClearProviderOutputWatchlistHit.md +24 -0
- data/docs/ClearProviderOutputWatchlistHitDetails.md +48 -0
- data/docs/ClearProviderOutputWatchlistHits.md +20 -0
- data/docs/ClearProviderOutputWatchlistSource.md +22 -0
- data/docs/ColombiaCcProviderOutput.md +10 -10
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +6 -6
- data/docs/CreateHostedProviderSessionResponse.md +1 -1
- data/docs/CzechBankIdAddress.md +3 -3
- data/docs/CzechBankIdCard.md +4 -4
- data/docs/CzechBankIdProviderOutput.md +1 -1
- data/docs/CzechBankIdVerification.md +2 -2
- data/docs/CzechiaMojeIdProviderOutput.md +4 -4
- data/docs/DenmarkAltIdInput.md +18 -0
- data/docs/DenmarkAltIdProviderOutput.md +22 -0
- data/docs/DigilockerAadhaarProviderOutput.md +1 -1
- data/docs/DiiaProviderOutput.md +2 -2
- data/docs/ElSalvadorDuiProviderOutput.md +3 -3
- data/docs/EstoniaIdCardProviderOutput.md +4 -4
- data/docs/EudiAgeVerificationCredential.md +1 -5
- data/docs/EudiReferenceWalletProviderOutput.md +20 -0
- data/docs/EvrotrustAddressComponents.md +48 -0
- data/docs/EvrotrustInput.md +20 -0
- data/docs/EvrotrustProviderOutput.md +78 -0
- data/docs/FinlandIdCardProviderOutput.md +4 -4
- data/docs/FranceIdentiteProviderOutput.md +1 -1
- data/docs/FrejaIndirectProviderOutput.md +4 -4
- data/docs/FrenchNumeriqueProviderOutput.md +10 -4
- data/docs/{FrenchNumeriqueGivenName.md → FrenchNumeriqueSplittedGivenName.md} +2 -4
- data/docs/{FrenchNumeriquePhone.md → FrenchNumeriqueSplittedPhone.md} +2 -4
- data/docs/GermanyEudiSandboxInput.md +18 -0
- data/docs/GermanyEudiSandboxProviderOutput.md +20 -0
- data/docs/GetAttachmentResponse.md +1 -1
- data/docs/GetSessionResultResponse.md +2 -2
- data/docs/GoogleWalletProviderOutput.md +1 -1
- data/docs/GuatemalaCuiLookupInput.md +3 -1
- data/docs/GuatemalaCuiProviderOutput.md +9 -9
- data/docs/IdemiaMobileIdProviderOutput.md +64 -0
- data/docs/IdentityData.md +1 -1
- data/docs/IndiaDigilockerAadhaarMatchDateOfBirthField.md +2 -2
- data/docs/IndiaDigilockerAadhaarMatchFullNameField.md +2 -2
- data/docs/IndiaPanStructuredNumber.md +5 -5
- data/docs/IndonesiaDukcapilMatchDateOfBirthField.md +2 -2
- data/docs/IndonesiaDukcapilMatchFullNameField.md +2 -2
- data/docs/IndonesiaDukcapilMatchNationalIdNumberField.md +2 -2
- data/docs/IndonesiaDukcapilMatchProviderOutput.md +9 -9
- data/docs/IndonesiaNikMatchField.md +2 -2
- data/docs/Iso180132BiometricDataBlockProduct.md +2 -2
- data/docs/Iso180132BiometricGroupTemplate.md +1 -1
- data/docs/Iso180132BiometricTemplate.md +3 -3
- data/docs/Iso180132BiometricTemplateHeader.md +3 -3
- data/docs/Iso180132BiometricValidityPeriod.md +2 -2
- data/docs/Iso180135AamvaDomesticVehicleClass.md +2 -2
- data/docs/Iso180135AamvaDomesticVehicleEndorsement.md +1 -1
- data/docs/Iso180135AamvaDomesticVehicleRestriction.md +1 -1
- data/docs/Iso180135AamvaWeightRange.md +1 -1
- data/docs/Iso180135DrivingPrivilege.md +1 -1
- data/docs/Iso180135DrivingPrivilegeCode.md +1 -1
- data/docs/ItsmeAddressBase.md +22 -0
- data/docs/ItsmeBelgianIdentityCard.md +26 -0
- data/docs/ItsmeBelgianNationalNumber.md +22 -0
- data/docs/ItsmeDirectDevice.md +40 -0
- data/docs/ItsmeIdentityDocument.md +26 -0
- data/docs/ItsmeLoginProviderOutput.md +44 -0
- data/docs/ItsmePlaceOfBirth.md +20 -0
- data/docs/ItsmeProviderAddress.md +26 -0
- data/docs/ItsmeProviderOutput.md +40 -28
- data/docs/KenyaNidLookup2ProviderOutput.md +6 -6
- data/docs/KenyaNidLookup3Input.md +18 -0
- data/docs/KenyaNidLookup3ProviderOutput.md +32 -0
- data/docs/KenyaNidMatch2DateOfBirthField.md +2 -2
- data/docs/KenyaNidMatch2FullNameField.md +2 -2
- data/docs/KenyaNidMatch2NationalIdNumberField.md +2 -2
- data/docs/KenyaNidMatch2ProviderOutput.md +2 -2
- data/docs/KenyaNidMatch2SexField.md +2 -2
- data/docs/KoreaTelcoMatchProviderOutput.md +3 -3
- data/docs/LaWalletProviderOutput.md +17 -17
- data/docs/LatviaEparakstsMobileProviderOutput.md +3 -3
- data/docs/LatviaEparakstsProviderOutput.md +3 -3
- data/docs/LithuaniaIdCardProviderOutput.md +4 -4
- data/docs/MdlOutput.md +4 -4
- data/docs/MdlOutputCertificateData.md +7 -5
- data/docs/MdlOutputFieldData.md +2 -2
- data/docs/MockOutputProviderInput.md +18 -0
- data/docs/MoldovaDriverLicenseCredential.md +42 -0
- data/docs/MoldovaEvoWalletInput.md +18 -0
- data/docs/MoldovaEvoWalletProviderOutput.md +26 -0
- data/docs/MoldovaIdentityCardCredential.md +60 -0
- data/docs/MoldovaVehicleRegistrationCertificateCredential.md +70 -0
- data/docs/NetherlandsEudiSandboxInput.md +18 -0
- data/docs/NetherlandsEudiSandboxProviderOutput.md +20 -0
- data/docs/NetherlandsIdinAddress.md +16 -6
- data/docs/NetherlandsIdinProviderOutput.md +8 -8
- data/docs/NigeriaNinLookup2ProviderOutput.md +5 -5
- data/docs/NigeriaNinLookup3Input.md +18 -0
- data/docs/NigeriaNinLookup3ProviderOutput.md +50 -0
- data/docs/NigeriaNinMatch2DateOfBirthField.md +2 -2
- data/docs/NigeriaNinMatch2FullNameField.md +2 -2
- data/docs/NigeriaNinMatch2NationalIdNumberField.md +2 -2
- data/docs/NigeriaNinMatch2PhoneNumberField.md +2 -2
- data/docs/NigeriaNinMatch2ProviderOutput.md +2 -2
- data/docs/NigeriaNinMatch2SexField.md +2 -2
- data/docs/PanamaCedulaLookupInput.md +1 -3
- data/docs/PanamaCedulaProviderOutput.md +5 -7
- data/docs/PeruDniAddress.md +3 -3
- data/docs/PeruDniProviderOutput.md +8 -8
- data/docs/PhilippinesDigitalNidProviderOutput.md +1 -1
- data/docs/PhilippinesPhilsysMatchProviderOutput.md +2 -2
- data/docs/PhilippinesPhysicalNidProviderOutput.md +1 -1
- data/docs/PolandEdoAppProviderOutput.md +4 -4
- data/docs/PolandMobywatelMatchInput.md +3 -3
- data/docs/PolandMobywatelMatchProviderOutput.md +2 -2
- data/docs/PolandMojeIdProviderOutput.md +3 -3
- data/docs/PortugalIdCardProviderOutput.md +4 -4
- data/docs/Provider.md +0 -4
- data/docs/ProviderInput.md +18 -0
- data/docs/ProviderOutput.md +29 -5
- data/docs/SamsungIdWithClearCredential.md +44 -0
- data/docs/SamsungWalletInput.md +1 -1
- data/docs/SamsungWalletProviderOutput.md +3 -1
- data/docs/SerbiaIdCardProviderOutput.md +4 -4
- data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +2 -2
- data/docs/SouthAfricaNidLookup2ProviderOutput.md +8 -8
- data/docs/SouthAfricaNidMatch2DateOfBirthField.md +2 -2
- data/docs/SouthAfricaNidMatch2FullNameField.md +2 -2
- data/docs/SouthAfricaNidMatch2NationalIdNumberField.md +2 -2
- data/docs/SouthAfricaNidMatch2ProviderOutput.md +2 -2
- data/docs/SouthAfricaNidMatch2SexField.md +2 -2
- data/docs/SpidBillingInformation.md +3 -3
- data/docs/SpidProviderOutput.md +2 -2
- data/docs/SubProviderMetadata.md +4 -2
- data/docs/UgandaNidMatch2DateOfBirthField.md +2 -2
- data/docs/UgandaNidMatch2NationalIdNumberField.md +2 -2
- data/docs/UgandaNidMatch2ProviderOutput.md +3 -3
- data/docs/UgandaNidMatch2SecondaryIdNumberField.md +2 -2
- data/docs/ZimbabweNidLookup2ProviderOutput.md +6 -6
- data/lib/trinsic_api/configuration.rb +4 -0
- data/lib/trinsic_api/models/aadhaar_language.rb +1 -17
- data/lib/trinsic_api/models/age_over_output.rb +2 -34
- data/lib/trinsic_api/models/alaska_mobile_id_provider_output.rb +161 -0
- data/lib/trinsic_api/models/apple_wallet_digital_id_birth_date.rb +1 -17
- data/lib/trinsic_api/models/apple_wallet_provider_output.rb +1 -17
- data/lib/trinsic_api/models/attachment_info.rb +15 -4
- data/lib/trinsic_api/models/audkenni_provider_output.rb +3 -51
- data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +2 -34
- data/lib/trinsic_api/models/austria_valera_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/austria_valera_eudi_sandbox_provider_output.rb +172 -0
- data/lib/trinsic_api/models/belgium_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/bolivia_ci_provider_output.rb +4 -68
- data/lib/trinsic_api/models/brazil_biometric_verification_output.rb +182 -0
- data/lib/trinsic_api/models/brazil_cnh_facial_biometry_output.rb +1 -17
- data/lib/trinsic_api/models/brazil_cpf_check_input.rb +12 -1
- data/lib/trinsic_api/models/brazil_cpf_provider_output.rb +262 -0
- data/lib/trinsic_api/models/clear_provider_output.rb +375 -0
- data/lib/trinsic_api/models/{verimi_address_output.rb → clear_provider_output_address.rb} +48 -48
- data/lib/trinsic_api/models/clear_provider_output_check.rb +206 -0
- data/lib/trinsic_api/models/clear_provider_output_check_additional_details.rb +149 -0
- data/lib/trinsic_api/models/clear_provider_output_document.rb +281 -0
- data/lib/trinsic_api/models/clear_provider_output_health_insurance.rb +226 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_address.rb +255 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_data.rb +164 -0
- data/lib/trinsic_api/models/clear_provider_output_historical_name.rb +204 -0
- data/lib/trinsic_api/models/clear_provider_output_location_info.rb +215 -0
- data/lib/trinsic_api/models/clear_provider_output_partial_date.rb +171 -0
- data/lib/trinsic_api/models/clear_provider_output_session_info.rb +204 -0
- data/lib/trinsic_api/models/clear_provider_output_traits.rb +325 -0
- data/lib/trinsic_api/models/clear_provider_output_verified_email.rb +171 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hit.rb +186 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hit_details.rb +346 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_hits.rb +162 -0
- data/lib/trinsic_api/models/clear_provider_output_watchlist_source.rb +171 -0
- data/lib/trinsic_api/models/colombia_cc_provider_output.rb +10 -170
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +1 -1
- data/lib/trinsic_api/models/czech_bank_id_address.rb +3 -51
- data/lib/trinsic_api/models/czech_bank_id_card.rb +4 -68
- data/lib/trinsic_api/models/czech_bank_id_provider_output.rb +1 -17
- data/lib/trinsic_api/models/czech_bank_id_verification.rb +2 -34
- data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +4 -68
- data/lib/trinsic_api/models/denmark_alt_id_input.rb +149 -0
- data/lib/trinsic_api/models/denmark_alt_id_provider_output.rb +172 -0
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +1 -17
- data/lib/trinsic_api/models/diia_provider_output.rb +2 -34
- data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +3 -51
- data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/eudi_age_verification_credential.rb +6 -28
- data/lib/trinsic_api/models/eudi_reference_wallet_provider_output.rb +161 -0
- data/lib/trinsic_api/models/evrotrust_address_components.rb +314 -0
- data/lib/trinsic_api/models/evrotrust_input.rb +160 -0
- data/lib/trinsic_api/models/evrotrust_provider_output.rb +484 -0
- data/lib/trinsic_api/models/finland_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/france_identite_provider_output.rb +1 -17
- data/lib/trinsic_api/models/freja_indirect_provider_output.rb +4 -68
- data/lib/trinsic_api/models/french_numerique_provider_output.rb +38 -5
- data/lib/trinsic_api/models/{french_numerique_given_name.rb → french_numerique_splitted_given_name.rb} +5 -16
- data/lib/trinsic_api/models/{french_numerique_phone.rb → french_numerique_splitted_phone.rb} +5 -16
- data/lib/trinsic_api/models/germany_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/germany_eudi_sandbox_provider_output.rb +161 -0
- data/lib/trinsic_api/models/get_attachment_response.rb +1 -1
- data/lib/trinsic_api/models/get_session_result_response.rb +2 -0
- data/lib/trinsic_api/models/google_wallet_id_pass_credential.rb +1 -1
- data/lib/trinsic_api/models/google_wallet_provider_output.rb +1 -17
- data/lib/trinsic_api/models/guatemala_cui_lookup_input.rb +16 -5
- data/lib/trinsic_api/models/guatemala_cui_provider_output.rb +9 -153
- data/lib/trinsic_api/models/idemia_mobile_id_provider_output.rb +403 -0
- data/lib/trinsic_api/models/identity_data.rb +17 -1
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/india_digilocker_aadhaar_match_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/india_pan_structured_number.rb +5 -85
- data/lib/trinsic_api/models/indonesia_dukcapil_match_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/indonesia_dukcapil_match_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/indonesia_dukcapil_match_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/indonesia_dukcapil_match_provider_output.rb +9 -153
- data/lib/trinsic_api/models/indonesia_nik_match_field.rb +2 -34
- data/lib/trinsic_api/models/iso180132_biometric_data_block_product.rb +2 -34
- data/lib/trinsic_api/models/iso180132_biometric_group_template.rb +1 -17
- data/lib/trinsic_api/models/iso180132_biometric_template.rb +3 -51
- data/lib/trinsic_api/models/iso180132_biometric_template_header.rb +3 -51
- data/lib/trinsic_api/models/iso180132_biometric_validity_period.rb +2 -34
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_class.rb +2 -34
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_endorsement.rb +1 -17
- data/lib/trinsic_api/models/iso180135_aamva_domestic_vehicle_restriction.rb +1 -17
- data/lib/trinsic_api/models/iso180135_aamva_weight_range.rb +1 -17
- data/lib/trinsic_api/models/iso180135_driving_privilege.rb +2 -18
- data/lib/trinsic_api/models/iso180135_driving_privilege_code.rb +1 -17
- data/lib/trinsic_api/models/itsme_address_base.rb +171 -0
- data/lib/trinsic_api/models/itsme_belgian_identity_card.rb +193 -0
- data/lib/trinsic_api/models/itsme_belgian_national_number.rb +171 -0
- data/lib/trinsic_api/models/itsme_direct_device.rb +270 -0
- data/lib/trinsic_api/models/itsme_identity_document.rb +193 -0
- data/lib/trinsic_api/models/itsme_login_provider_output.rb +293 -0
- data/lib/trinsic_api/models/itsme_place_of_birth.rb +160 -0
- data/lib/trinsic_api/models/{idemia_preview_provider_address.rb → itsme_provider_address.rb} +30 -56
- data/lib/trinsic_api/models/itsme_provider_output.rb +162 -144
- data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/models/kenya_nid_lookup3_input.rb +194 -0
- data/lib/trinsic_api/models/kenya_nid_lookup3_provider_output.rb +227 -0
- data/lib/trinsic_api/models/kenya_nid_match2_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/kenya_nid_match2_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/kenya_nid_match2_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/kenya_nid_match2_provider_output.rb +2 -34
- data/lib/trinsic_api/models/kenya_nid_match2_sex_field.rb +2 -34
- data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +6 -54
- data/lib/trinsic_api/models/la_wallet_provider_output.rb +17 -289
- data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +3 -51
- data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +3 -51
- data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/mdl_output.rb +7 -71
- data/lib/trinsic_api/models/mdl_output_certificate_data.rb +18 -87
- data/lib/trinsic_api/models/mdl_output_field_data.rb +2 -34
- data/lib/trinsic_api/models/mock_output_provider_input.rb +150 -0
- data/lib/trinsic_api/models/moldova_driver_license_credential.rb +284 -0
- data/lib/trinsic_api/models/moldova_evo_wallet_input.rb +149 -0
- data/lib/trinsic_api/models/moldova_evo_wallet_provider_output.rb +194 -0
- data/lib/trinsic_api/models/moldova_identity_card_credential.rb +381 -0
- data/lib/trinsic_api/models/moldova_vehicle_registration_certificate_credential.rb +438 -0
- data/lib/trinsic_api/models/netherlands_eudi_sandbox_input.rb +149 -0
- data/lib/trinsic_api/models/netherlands_eudi_sandbox_provider_output.rb +161 -0
- data/lib/trinsic_api/models/netherlands_idin_address.rb +68 -93
- data/lib/trinsic_api/models/netherlands_idin_provider_output.rb +9 -137
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +4 -52
- data/lib/trinsic_api/models/nigeria_nin_lookup3_input.rb +149 -0
- data/lib/trinsic_api/models/nigeria_nin_lookup3_provider_output.rb +326 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_phone_number_field.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_provider_output.rb +2 -34
- data/lib/trinsic_api/models/nigeria_nin_match2_sex_field.rb +2 -34
- data/lib/trinsic_api/models/panama_cedula_lookup_input.rb +5 -16
- data/lib/trinsic_api/models/panama_cedula_provider_output.rb +6 -97
- data/lib/trinsic_api/models/peru_dni_address.rb +3 -51
- data/lib/trinsic_api/models/peru_dni_provider_output.rb +8 -136
- data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +1 -17
- data/lib/trinsic_api/models/philippines_philsys_match_provider_output.rb +2 -34
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +1 -17
- data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +4 -68
- data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +3 -3
- data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +1 -1
- data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +3 -51
- data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/provider.rb +1 -57
- data/lib/trinsic_api/models/provider_input.rb +97 -1
- data/lib/trinsic_api/models/provider_output.rb +156 -24
- data/lib/trinsic_api/models/raw18013_document_request.rb +9 -0
- data/lib/trinsic_api/models/samsung_id_with_clear_credential.rb +295 -0
- data/lib/trinsic_api/models/samsung_wallet_input.rb +1 -1
- data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +13 -18
- data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +4 -68
- data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_lookup2_provider_output.rb +10 -138
- data/lib/trinsic_api/models/south_africa_nid_match2_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_match2_full_name_field.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_match2_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_match2_provider_output.rb +2 -34
- data/lib/trinsic_api/models/south_africa_nid_match2_sex_field.rb +2 -34
- data/lib/trinsic_api/models/spid_billing_information.rb +3 -51
- data/lib/trinsic_api/models/spid_provider_output.rb +2 -34
- data/lib/trinsic_api/models/sub_provider_metadata.rb +16 -5
- data/lib/trinsic_api/models/uganda_nid_match2_date_of_birth_field.rb +2 -34
- data/lib/trinsic_api/models/uganda_nid_match2_national_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/uganda_nid_match2_provider_output.rb +3 -51
- data/lib/trinsic_api/models/uganda_nid_match2_secondary_id_number_field.rb +2 -34
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_provider_output.rb +6 -102
- data/lib/trinsic_api/version.rb +1 -1
- data/lib/trinsic_api.rb +55 -6
- data/spec/models/alaska_mobile_id_provider_output_spec.rb +42 -0
- data/spec/models/attachment_info_spec.rb +6 -0
- data/spec/models/austria_valera_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/austria_valera_eudi_sandbox_provider_output_spec.rb +48 -0
- data/spec/models/brazil_biometric_verification_output_spec.rb +54 -0
- data/spec/models/brazil_cpf_check_input_spec.rb +6 -0
- data/spec/models/brazil_cpf_provider_output_spec.rb +96 -0
- data/spec/models/{verimi_address_output_spec.rb → clear_provider_output_address_spec.rb} +12 -12
- data/spec/models/clear_provider_output_check_additional_details_spec.rb +36 -0
- data/spec/models/clear_provider_output_check_spec.rb +66 -0
- data/spec/models/clear_provider_output_document_spec.rb +108 -0
- data/spec/models/clear_provider_output_health_insurance_spec.rb +78 -0
- data/spec/models/clear_provider_output_historical_address_spec.rb +90 -0
- data/spec/models/clear_provider_output_historical_data_spec.rb +42 -0
- data/spec/models/clear_provider_output_historical_name_spec.rb +66 -0
- data/spec/models/clear_provider_output_location_info_spec.rb +72 -0
- data/spec/models/clear_provider_output_partial_date_spec.rb +48 -0
- data/spec/models/clear_provider_output_session_info_spec.rb +66 -0
- data/spec/models/clear_provider_output_spec.rb +150 -0
- data/spec/models/clear_provider_output_traits_spec.rb +132 -0
- data/spec/models/clear_provider_output_verified_email_spec.rb +48 -0
- data/spec/models/clear_provider_output_watchlist_hit_details_spec.rb +126 -0
- data/spec/models/clear_provider_output_watchlist_hit_spec.rb +54 -0
- data/spec/models/clear_provider_output_watchlist_hits_spec.rb +42 -0
- data/spec/models/clear_provider_output_watchlist_source_spec.rb +48 -0
- data/spec/models/denmark_alt_id_input_spec.rb +36 -0
- data/spec/models/denmark_alt_id_provider_output_spec.rb +48 -0
- data/spec/models/eudi_age_verification_credential_spec.rb +0 -12
- data/spec/models/eudi_reference_wallet_provider_output_spec.rb +42 -0
- data/spec/models/evrotrust_address_components_spec.rb +126 -0
- data/spec/models/evrotrust_input_spec.rb +42 -0
- data/spec/models/{idemia_preview_provider_output_spec.rb → evrotrust_provider_output_spec.rb} +41 -35
- data/spec/models/french_numerique_provider_output_spec.rb +18 -0
- data/spec/models/{french_numerique_given_name_spec.rb → french_numerique_splitted_given_name_spec.rb} +6 -12
- data/spec/models/{french_numerique_phone_spec.rb → french_numerique_splitted_phone_spec.rb} +6 -12
- data/spec/models/germany_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/germany_eudi_sandbox_provider_output_spec.rb +42 -0
- data/spec/models/guatemala_cui_lookup_input_spec.rb +6 -0
- data/spec/models/{verimi_provider_output_spec.rb → idemia_mobile_id_provider_output_spec.rb} +29 -41
- data/spec/models/itsme_address_base_spec.rb +48 -0
- data/spec/models/itsme_belgian_identity_card_spec.rb +60 -0
- data/spec/models/itsme_belgian_national_number_spec.rb +48 -0
- data/spec/models/itsme_direct_device_spec.rb +102 -0
- data/spec/models/itsme_identity_document_spec.rb +60 -0
- data/spec/models/itsme_login_provider_output_spec.rb +114 -0
- data/spec/models/itsme_place_of_birth_spec.rb +42 -0
- data/spec/models/itsme_provider_address_spec.rb +60 -0
- data/spec/models/itsme_provider_output_spec.rb +49 -13
- data/spec/models/kenya_nid_lookup3_input_spec.rb +36 -0
- data/spec/models/{idemia_preview_provider_address_spec.rb → kenya_nid_lookup3_provider_output_spec.rb} +14 -14
- data/spec/models/mdl_output_certificate_data_spec.rb +6 -0
- data/spec/models/mock_output_provider_input_spec.rb +36 -0
- data/spec/models/moldova_driver_license_credential_spec.rb +108 -0
- data/spec/models/moldova_evo_wallet_input_spec.rb +36 -0
- data/spec/models/moldova_evo_wallet_provider_output_spec.rb +60 -0
- data/spec/models/moldova_identity_card_credential_spec.rb +162 -0
- data/spec/models/moldova_vehicle_registration_certificate_credential_spec.rb +192 -0
- data/spec/models/netherlands_eudi_sandbox_input_spec.rb +36 -0
- data/spec/models/netherlands_eudi_sandbox_provider_output_spec.rb +42 -0
- data/spec/models/netherlands_idin_address_spec.rb +30 -0
- data/spec/models/nigeria_nin_lookup3_input_spec.rb +36 -0
- data/spec/models/nigeria_nin_lookup3_provider_output_spec.rb +132 -0
- data/spec/models/panama_cedula_lookup_input_spec.rb +0 -6
- data/spec/models/panama_cedula_provider_output_spec.rb +0 -6
- data/spec/models/provider_input_spec.rb +54 -0
- data/spec/models/provider_output_spec.rb +78 -6
- data/spec/models/provider_spec.rb +0 -12
- data/spec/models/samsung_id_with_clear_credential_spec.rb +114 -0
- data/spec/models/samsung_wallet_provider_output_spec.rb +6 -0
- data/spec/models/sub_provider_metadata_spec.rb +6 -0
- metadata +462 -266
- data/docs/IdemiaPreviewProviderAddress.md +0 -32
- data/docs/IdemiaPreviewProviderOutput.md +0 -76
- data/docs/VerimiAddressOutput.md +0 -28
- data/docs/VerimiProviderOutput.md +0 -68
- data/lib/trinsic_api/models/idemia_preview_provider_output.rb +0 -469
- data/lib/trinsic_api/models/verimi_provider_output.rb +0 -425
|
@@ -0,0 +1,438 @@
|
|
|
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
|
+
# A Moldovan Vehicle Registration Certificate credential, with document type `md.gov.wallet.vrc.1`, retrieved from the Moldovan EVO wallet.
|
|
18
|
+
class MoldovaVehicleRegistrationCertificateCredential < ApiModelBase
|
|
19
|
+
# The registered vehicle's plate number.
|
|
20
|
+
attr_accessor :plate_number
|
|
21
|
+
|
|
22
|
+
# The registered vehicle's IDNV (Numărul de Identificare a Vehiculului), the identifier assigned to the vehicle in the Moldovan State Register of Transport. This is a Moldovan registry identifier and is distinct from the manufacturer's VIN.
|
|
23
|
+
attr_accessor :idnv
|
|
24
|
+
|
|
25
|
+
# The vehicle's manufacturer-assigned Vehicle Identification Number (VIN), per ISO 3779.
|
|
26
|
+
attr_accessor :vin
|
|
27
|
+
|
|
28
|
+
# The make (manufacturer brand) of the vehicle.
|
|
29
|
+
attr_accessor :make
|
|
30
|
+
|
|
31
|
+
# The commercial model name of the vehicle.
|
|
32
|
+
attr_accessor :model
|
|
33
|
+
|
|
34
|
+
# The color of the vehicle, as recorded by the issuer. TODO: Possible values?
|
|
35
|
+
attr_accessor :color
|
|
36
|
+
|
|
37
|
+
# The vehicle's EU vehicle category code.
|
|
38
|
+
attr_accessor :category
|
|
39
|
+
|
|
40
|
+
# The vehicle's year of manufacture.
|
|
41
|
+
attr_accessor :year
|
|
42
|
+
|
|
43
|
+
# The body number of the vehicle, if recorded separately from the VIN.
|
|
44
|
+
attr_accessor :body_number
|
|
45
|
+
|
|
46
|
+
# The body type of the vehicle, as recorded by the issuer. This is a free text field with no guaranteed format.
|
|
47
|
+
attr_accessor :body_type
|
|
48
|
+
|
|
49
|
+
# The chassis number of the vehicle, if recorded separately from the VIN.
|
|
50
|
+
attr_accessor :chassis_number
|
|
51
|
+
|
|
52
|
+
# The engine displacement volume of the vehicle, as recorded by the issuer (typically in cubic centimeters). This is a free text field with no guaranteed format.
|
|
53
|
+
attr_accessor :engine_volume
|
|
54
|
+
|
|
55
|
+
# The engine/fuel type of the vehicle, as recorded by the issuer. This is a free text field with no guaranteed format.
|
|
56
|
+
attr_accessor :engine_type
|
|
57
|
+
|
|
58
|
+
# The engine number of the vehicle.
|
|
59
|
+
attr_accessor :engine_number
|
|
60
|
+
|
|
61
|
+
# The maximum technically permissible laden mass of the vehicle, in kilograms.
|
|
62
|
+
attr_accessor :authorized_weight
|
|
63
|
+
|
|
64
|
+
# The mass of the vehicle in service (unladen / kerb weight), in kilograms.
|
|
65
|
+
attr_accessor :weight
|
|
66
|
+
|
|
67
|
+
# The number of seating positions in the vehicle, including the driver.
|
|
68
|
+
attr_accessor :places
|
|
69
|
+
|
|
70
|
+
# The IDNP (Numărul de Identificare Personal) of the vehicle's registered holder. This is a 13-digit number which uniquely identifies all natural persons in the Republic of Moldova. It has the format `2YYYOOOSSSSSX`, where: - `2` is the literal number `2` to indicate that the identifier belongs to a natural person - `YYY` is the last 3 digits of the year in which the identifier was issued - `OOO` is the code of the registrar office which issued the identifier - `SSSSS` is the sequential birth number for that year - `X` is a check digit Note that the year encoded in the identifier is not necessarily the same as the year of birth of the individual.
|
|
71
|
+
attr_accessor :idnp
|
|
72
|
+
|
|
73
|
+
# The family name (surname) of the vehicle's registered holder.
|
|
74
|
+
attr_accessor :family_name
|
|
75
|
+
|
|
76
|
+
# The given name(s) of the vehicle's registered holder.
|
|
77
|
+
attr_accessor :given_name
|
|
78
|
+
|
|
79
|
+
# The registered address of the vehicle's holder, as a single formatted string.
|
|
80
|
+
attr_accessor :address
|
|
81
|
+
|
|
82
|
+
# The legal relationship the registration holder has to the vehicle (e.g. owner vs. authorized user), as recorded by the issuer. TODO: Values
|
|
83
|
+
attr_accessor :vehicle_right
|
|
84
|
+
|
|
85
|
+
# Free-text remarks or annotations recorded on the registration certificate.
|
|
86
|
+
attr_accessor :special_remarks
|
|
87
|
+
|
|
88
|
+
# The date the registration certificate was issued.
|
|
89
|
+
attr_accessor :issue_date
|
|
90
|
+
|
|
91
|
+
# The date the registration certificate expires.
|
|
92
|
+
attr_accessor :expiry_date
|
|
93
|
+
|
|
94
|
+
# The name of the authority that issued the registration certificate.
|
|
95
|
+
attr_accessor :issuing_authority
|
|
96
|
+
|
|
97
|
+
# The number of the registration certificate document itself.
|
|
98
|
+
attr_accessor :document_number
|
|
99
|
+
|
|
100
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
101
|
+
def self.attribute_map
|
|
102
|
+
{
|
|
103
|
+
:'plate_number' => :'plateNumber',
|
|
104
|
+
:'idnv' => :'idnv',
|
|
105
|
+
:'vin' => :'vin',
|
|
106
|
+
:'make' => :'make',
|
|
107
|
+
:'model' => :'model',
|
|
108
|
+
:'color' => :'color',
|
|
109
|
+
:'category' => :'category',
|
|
110
|
+
:'year' => :'year',
|
|
111
|
+
:'body_number' => :'bodyNumber',
|
|
112
|
+
:'body_type' => :'bodyType',
|
|
113
|
+
:'chassis_number' => :'chassisNumber',
|
|
114
|
+
:'engine_volume' => :'engineVolume',
|
|
115
|
+
:'engine_type' => :'engineType',
|
|
116
|
+
:'engine_number' => :'engineNumber',
|
|
117
|
+
:'authorized_weight' => :'authorizedWeight',
|
|
118
|
+
:'weight' => :'weight',
|
|
119
|
+
:'places' => :'places',
|
|
120
|
+
:'idnp' => :'idnp',
|
|
121
|
+
:'family_name' => :'familyName',
|
|
122
|
+
:'given_name' => :'givenName',
|
|
123
|
+
:'address' => :'address',
|
|
124
|
+
:'vehicle_right' => :'vehicleRight',
|
|
125
|
+
:'special_remarks' => :'specialRemarks',
|
|
126
|
+
:'issue_date' => :'issueDate',
|
|
127
|
+
:'expiry_date' => :'expiryDate',
|
|
128
|
+
:'issuing_authority' => :'issuingAuthority',
|
|
129
|
+
:'document_number' => :'documentNumber'
|
|
130
|
+
}
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Returns attribute mapping this model knows about
|
|
134
|
+
def self.acceptable_attribute_map
|
|
135
|
+
attribute_map
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# Returns all the JSON keys this model knows about
|
|
139
|
+
def self.acceptable_attributes
|
|
140
|
+
acceptable_attribute_map.values
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Attribute type mapping.
|
|
144
|
+
def self.openapi_types
|
|
145
|
+
{
|
|
146
|
+
:'plate_number' => :'String',
|
|
147
|
+
:'idnv' => :'String',
|
|
148
|
+
:'vin' => :'String',
|
|
149
|
+
:'make' => :'String',
|
|
150
|
+
:'model' => :'String',
|
|
151
|
+
:'color' => :'String',
|
|
152
|
+
:'category' => :'String',
|
|
153
|
+
:'year' => :'Integer',
|
|
154
|
+
:'body_number' => :'String',
|
|
155
|
+
:'body_type' => :'String',
|
|
156
|
+
:'chassis_number' => :'String',
|
|
157
|
+
:'engine_volume' => :'String',
|
|
158
|
+
:'engine_type' => :'String',
|
|
159
|
+
:'engine_number' => :'String',
|
|
160
|
+
:'authorized_weight' => :'Integer',
|
|
161
|
+
:'weight' => :'Integer',
|
|
162
|
+
:'places' => :'Integer',
|
|
163
|
+
:'idnp' => :'String',
|
|
164
|
+
:'family_name' => :'String',
|
|
165
|
+
:'given_name' => :'String',
|
|
166
|
+
:'address' => :'String',
|
|
167
|
+
:'vehicle_right' => :'String',
|
|
168
|
+
:'special_remarks' => :'Array<String>',
|
|
169
|
+
:'issue_date' => :'Date',
|
|
170
|
+
:'expiry_date' => :'Date',
|
|
171
|
+
:'issuing_authority' => :'String',
|
|
172
|
+
:'document_number' => :'String'
|
|
173
|
+
}
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# List of attributes with nullable: true
|
|
177
|
+
def self.openapi_nullable
|
|
178
|
+
Set.new([
|
|
179
|
+
:'plate_number',
|
|
180
|
+
:'idnv',
|
|
181
|
+
:'vin',
|
|
182
|
+
:'make',
|
|
183
|
+
:'model',
|
|
184
|
+
:'color',
|
|
185
|
+
:'category',
|
|
186
|
+
:'year',
|
|
187
|
+
:'body_number',
|
|
188
|
+
:'body_type',
|
|
189
|
+
:'chassis_number',
|
|
190
|
+
:'engine_volume',
|
|
191
|
+
:'engine_type',
|
|
192
|
+
:'engine_number',
|
|
193
|
+
:'authorized_weight',
|
|
194
|
+
:'weight',
|
|
195
|
+
:'places',
|
|
196
|
+
:'idnp',
|
|
197
|
+
:'family_name',
|
|
198
|
+
:'given_name',
|
|
199
|
+
:'address',
|
|
200
|
+
:'vehicle_right',
|
|
201
|
+
:'special_remarks',
|
|
202
|
+
:'issue_date',
|
|
203
|
+
:'expiry_date',
|
|
204
|
+
:'issuing_authority',
|
|
205
|
+
:'document_number'
|
|
206
|
+
])
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# Initializes the object
|
|
210
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
211
|
+
def initialize(attributes = {})
|
|
212
|
+
if (!attributes.is_a?(Hash))
|
|
213
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::MoldovaVehicleRegistrationCertificateCredential` initialize method"
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
217
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
218
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
219
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
220
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::MoldovaVehicleRegistrationCertificateCredential`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
221
|
+
end
|
|
222
|
+
h[k.to_sym] = v
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
if attributes.key?(:'plate_number')
|
|
226
|
+
self.plate_number = attributes[:'plate_number']
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
if attributes.key?(:'idnv')
|
|
230
|
+
self.idnv = attributes[:'idnv']
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
if attributes.key?(:'vin')
|
|
234
|
+
self.vin = attributes[:'vin']
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
if attributes.key?(:'make')
|
|
238
|
+
self.make = attributes[:'make']
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
if attributes.key?(:'model')
|
|
242
|
+
self.model = attributes[:'model']
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
if attributes.key?(:'color')
|
|
246
|
+
self.color = attributes[:'color']
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
if attributes.key?(:'category')
|
|
250
|
+
self.category = attributes[:'category']
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
if attributes.key?(:'year')
|
|
254
|
+
self.year = attributes[:'year']
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
if attributes.key?(:'body_number')
|
|
258
|
+
self.body_number = attributes[:'body_number']
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
if attributes.key?(:'body_type')
|
|
262
|
+
self.body_type = attributes[:'body_type']
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
if attributes.key?(:'chassis_number')
|
|
266
|
+
self.chassis_number = attributes[:'chassis_number']
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
if attributes.key?(:'engine_volume')
|
|
270
|
+
self.engine_volume = attributes[:'engine_volume']
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
if attributes.key?(:'engine_type')
|
|
274
|
+
self.engine_type = attributes[:'engine_type']
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
if attributes.key?(:'engine_number')
|
|
278
|
+
self.engine_number = attributes[:'engine_number']
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
if attributes.key?(:'authorized_weight')
|
|
282
|
+
self.authorized_weight = attributes[:'authorized_weight']
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
if attributes.key?(:'weight')
|
|
286
|
+
self.weight = attributes[:'weight']
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
if attributes.key?(:'places')
|
|
290
|
+
self.places = attributes[:'places']
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
if attributes.key?(:'idnp')
|
|
294
|
+
self.idnp = attributes[:'idnp']
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
if attributes.key?(:'family_name')
|
|
298
|
+
self.family_name = attributes[:'family_name']
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
if attributes.key?(:'given_name')
|
|
302
|
+
self.given_name = attributes[:'given_name']
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
if attributes.key?(:'address')
|
|
306
|
+
self.address = attributes[:'address']
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
if attributes.key?(:'vehicle_right')
|
|
310
|
+
self.vehicle_right = attributes[:'vehicle_right']
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
if attributes.key?(:'special_remarks')
|
|
314
|
+
if (value = attributes[:'special_remarks']).is_a?(Array)
|
|
315
|
+
self.special_remarks = value
|
|
316
|
+
end
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
if attributes.key?(:'issue_date')
|
|
320
|
+
self.issue_date = attributes[:'issue_date']
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
if attributes.key?(:'expiry_date')
|
|
324
|
+
self.expiry_date = attributes[:'expiry_date']
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
if attributes.key?(:'issuing_authority')
|
|
328
|
+
self.issuing_authority = attributes[:'issuing_authority']
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
if attributes.key?(:'document_number')
|
|
332
|
+
self.document_number = attributes[:'document_number']
|
|
333
|
+
end
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
337
|
+
# @return Array for valid properties with the reasons
|
|
338
|
+
def list_invalid_properties
|
|
339
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
340
|
+
invalid_properties = Array.new
|
|
341
|
+
invalid_properties
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
# Check to see if the all the properties in the model are valid
|
|
345
|
+
# @return true if the model is valid
|
|
346
|
+
def valid?
|
|
347
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
348
|
+
true
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# Checks equality by comparing each attribute.
|
|
352
|
+
# @param [Object] Object to be compared
|
|
353
|
+
def ==(o)
|
|
354
|
+
return true if self.equal?(o)
|
|
355
|
+
self.class == o.class &&
|
|
356
|
+
plate_number == o.plate_number &&
|
|
357
|
+
idnv == o.idnv &&
|
|
358
|
+
vin == o.vin &&
|
|
359
|
+
make == o.make &&
|
|
360
|
+
model == o.model &&
|
|
361
|
+
color == o.color &&
|
|
362
|
+
category == o.category &&
|
|
363
|
+
year == o.year &&
|
|
364
|
+
body_number == o.body_number &&
|
|
365
|
+
body_type == o.body_type &&
|
|
366
|
+
chassis_number == o.chassis_number &&
|
|
367
|
+
engine_volume == o.engine_volume &&
|
|
368
|
+
engine_type == o.engine_type &&
|
|
369
|
+
engine_number == o.engine_number &&
|
|
370
|
+
authorized_weight == o.authorized_weight &&
|
|
371
|
+
weight == o.weight &&
|
|
372
|
+
places == o.places &&
|
|
373
|
+
idnp == o.idnp &&
|
|
374
|
+
family_name == o.family_name &&
|
|
375
|
+
given_name == o.given_name &&
|
|
376
|
+
address == o.address &&
|
|
377
|
+
vehicle_right == o.vehicle_right &&
|
|
378
|
+
special_remarks == o.special_remarks &&
|
|
379
|
+
issue_date == o.issue_date &&
|
|
380
|
+
expiry_date == o.expiry_date &&
|
|
381
|
+
issuing_authority == o.issuing_authority &&
|
|
382
|
+
document_number == o.document_number
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
# @see the `==` method
|
|
386
|
+
# @param [Object] Object to be compared
|
|
387
|
+
def eql?(o)
|
|
388
|
+
self == o
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
# Calculates hash code according to all attributes.
|
|
392
|
+
# @return [Integer] Hash code
|
|
393
|
+
def hash
|
|
394
|
+
[plate_number, idnv, vin, make, model, color, category, year, body_number, body_type, chassis_number, engine_volume, engine_type, engine_number, authorized_weight, weight, places, idnp, family_name, given_name, address, vehicle_right, special_remarks, issue_date, expiry_date, issuing_authority, document_number].hash
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
# Builds the object from hash
|
|
398
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
399
|
+
# @return [Object] Returns the model itself
|
|
400
|
+
def self.build_from_hash(attributes)
|
|
401
|
+
return nil unless attributes.is_a?(Hash)
|
|
402
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
403
|
+
transformed_hash = {}
|
|
404
|
+
openapi_types.each_pair do |key, type|
|
|
405
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
406
|
+
transformed_hash["#{key}"] = nil
|
|
407
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
408
|
+
# check to ensure the input is an array given that the attribute
|
|
409
|
+
# is documented as an array but the input is not
|
|
410
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
411
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
412
|
+
end
|
|
413
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
414
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
415
|
+
end
|
|
416
|
+
end
|
|
417
|
+
new(transformed_hash)
|
|
418
|
+
end
|
|
419
|
+
|
|
420
|
+
# Returns the object in the form of hash
|
|
421
|
+
# @return [Hash] Returns the object in the form of hash
|
|
422
|
+
def to_hash
|
|
423
|
+
hash = {}
|
|
424
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
425
|
+
value = self.send(attr)
|
|
426
|
+
if value.nil?
|
|
427
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
428
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
429
|
+
end
|
|
430
|
+
|
|
431
|
+
hash[param] = _to_hash(value)
|
|
432
|
+
end
|
|
433
|
+
hash
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
end
|
|
@@ -0,0 +1,149 @@
|
|
|
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 NetherlandsEudiSandboxInput < ApiModelBase
|
|
18
|
+
# The raw 18013-7 exchange request to use for this verification. If set, this overrides any default configuration on your Verification Profile.
|
|
19
|
+
attr_accessor :preview_raw18013_request
|
|
20
|
+
|
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
|
+
def self.attribute_map
|
|
23
|
+
{
|
|
24
|
+
:'preview_raw18013_request' => :'preview_raw18013Request'
|
|
25
|
+
}
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Returns attribute mapping this model knows about
|
|
29
|
+
def self.acceptable_attribute_map
|
|
30
|
+
attribute_map
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Returns all the JSON keys this model knows about
|
|
34
|
+
def self.acceptable_attributes
|
|
35
|
+
acceptable_attribute_map.values
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Attribute type mapping.
|
|
39
|
+
def self.openapi_types
|
|
40
|
+
{
|
|
41
|
+
:'preview_raw18013_request' => :'Raw18013RequestInput'
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# List of attributes with nullable: true
|
|
46
|
+
def self.openapi_nullable
|
|
47
|
+
Set.new([
|
|
48
|
+
:'preview_raw18013_request'
|
|
49
|
+
])
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# Initializes the object
|
|
53
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
54
|
+
def initialize(attributes = {})
|
|
55
|
+
if (!attributes.is_a?(Hash))
|
|
56
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::NetherlandsEudiSandboxInput` initialize method"
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
60
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
61
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
62
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::NetherlandsEudiSandboxInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
64
|
+
end
|
|
65
|
+
h[k.to_sym] = v
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if attributes.key?(:'preview_raw18013_request')
|
|
69
|
+
self.preview_raw18013_request = attributes[:'preview_raw18013_request']
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
74
|
+
# @return Array for valid properties with the reasons
|
|
75
|
+
def list_invalid_properties
|
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
77
|
+
invalid_properties = Array.new
|
|
78
|
+
invalid_properties
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Check to see if the all the properties in the model are valid
|
|
82
|
+
# @return true if the model is valid
|
|
83
|
+
def valid?
|
|
84
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
85
|
+
true
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Checks equality by comparing each attribute.
|
|
89
|
+
# @param [Object] Object to be compared
|
|
90
|
+
def ==(o)
|
|
91
|
+
return true if self.equal?(o)
|
|
92
|
+
self.class == o.class &&
|
|
93
|
+
preview_raw18013_request == o.preview_raw18013_request
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# @see the `==` method
|
|
97
|
+
# @param [Object] Object to be compared
|
|
98
|
+
def eql?(o)
|
|
99
|
+
self == o
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Calculates hash code according to all attributes.
|
|
103
|
+
# @return [Integer] Hash code
|
|
104
|
+
def hash
|
|
105
|
+
[preview_raw18013_request].hash
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Builds the object from hash
|
|
109
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
110
|
+
# @return [Object] Returns the model itself
|
|
111
|
+
def self.build_from_hash(attributes)
|
|
112
|
+
return nil unless attributes.is_a?(Hash)
|
|
113
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
114
|
+
transformed_hash = {}
|
|
115
|
+
openapi_types.each_pair do |key, type|
|
|
116
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
117
|
+
transformed_hash["#{key}"] = nil
|
|
118
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
119
|
+
# check to ensure the input is an array given that the attribute
|
|
120
|
+
# is documented as an array but the input is not
|
|
121
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
122
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
123
|
+
end
|
|
124
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
125
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
new(transformed_hash)
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# Returns the object in the form of hash
|
|
132
|
+
# @return [Hash] Returns the object in the form of hash
|
|
133
|
+
def to_hash
|
|
134
|
+
hash = {}
|
|
135
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
136
|
+
value = self.send(attr)
|
|
137
|
+
if value.nil?
|
|
138
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
139
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
hash[param] = _to_hash(value)
|
|
143
|
+
end
|
|
144
|
+
hash
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
end
|