trinsic_api 3.0.1 → 3.1.0.pre.preview1
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 +0 -2
- data/docs/AadhaarAddress.md +40 -0
- data/docs/AadhaarClaims.md +24 -0
- data/docs/AadhaarLanguage.md +20 -0
- data/docs/AadhaarLocalizedClaims.md +22 -0
- data/docs/AppleWalletInput.md +3 -1
- data/docs/AudkenniProviderOutput.md +24 -0
- data/docs/BoliviaCiLookupInput.md +20 -0
- data/docs/BoliviaCiProviderOutput.md +26 -0
- data/docs/BrazilCpfCheckInput.md +5 -1
- data/docs/ChinaResidentIdMatchInput.md +24 -0
- data/docs/ChinaResidentIdMatchOutput.md +22 -0
- data/docs/ColombiaCcLookupInput.md +20 -0
- data/docs/ColombiaCcProviderOutput.md +36 -0
- data/docs/ColombiaExpeditionPlace.md +20 -0
- data/docs/ConnectIdAddress.md +26 -0
- data/docs/ConnectIdAgeVerification.md +20 -0
- data/docs/ConnectIdProviderOutput.md +36 -0
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +34 -0
- data/docs/CreateDirectProviderSessionRequest.md +2 -0
- data/docs/CreateHostedProviderSessionRequest.md +2 -0
- data/docs/CzechMojeIdAddressOutput.md +28 -0
- data/docs/CzechMojeIdProviderOutput.md +66 -0
- data/docs/CzechiaMojeIdProviderOutput.md +1 -1
- data/docs/DigilockerAadhaarProviderOutput.md +30 -0
- data/docs/ElSalvadorDuiLookupInput.md +20 -0
- data/docs/ElSalvadorDuiProviderOutput.md +22 -0
- data/docs/FaydaProviderAddress.md +22 -0
- data/docs/FaydaProviderOutput.md +20 -2
- data/docs/FinnishTrustNetworkProviderOutput.md +38 -0
- data/docs/FranceIdentiteInput.md +18 -0
- data/docs/FranceIdentiteProviderOutput.md +18 -0
- data/docs/FrejaIndirectProviderOutput.md +24 -0
- data/docs/FrejaProviderOutput.md +36 -8
- data/docs/FrenchNumeriqueGivenName.md +1 -1
- data/docs/FrenchNumeriqueProviderOutput.md +7 -7
- data/docs/GetProviderResponse.md +18 -0
- data/docs/GoogleWalletInput.md +3 -1
- data/docs/GuatemalaCuiLookupInput.md +18 -0
- data/docs/GuatemalaCuiProviderOutput.md +36 -0
- data/docs/IndiaPanLookupInput.md +18 -0
- data/docs/IndiaPanLookupProviderOutput.md +32 -0
- data/docs/IndiaPanStructuredNumber.md +28 -0
- data/docs/KenyaNidBiometric2Input.md +1 -1
- data/docs/KenyaNidLookup2Input.md +1 -1
- data/docs/KenyaNidLookup2ProviderOutput.md +1 -1
- data/docs/KenyaNidMatch2Input.md +1 -1
- data/docs/KoreaTelcoMatchInput.md +28 -0
- data/docs/KoreaTelcoMatchProviderOutput.md +22 -0
- data/docs/KoreaTelcoMatchSex.md +15 -0
- data/docs/LloydsSmartIdProviderOutput.md +2 -2
- data/docs/MdlOutput.md +2 -2
- data/docs/MitIdProviderOutput.md +5 -5
- data/docs/MobileCarrier.md +15 -0
- data/docs/MobileOperatingSystem.md +15 -0
- data/docs/NetherlandsIdinAddress.md +26 -0
- data/docs/NetherlandsIdinProviderOutput.md +36 -0
- data/docs/NigeriaNinLookup2ProviderOutput.md +40 -0
- data/docs/NorwegianBankIdProviderOutput.md +32 -0
- data/docs/OneIdProviderAddress.md +26 -0
- data/docs/OneIdProviderOutput.md +28 -0
- data/docs/OutputFrejaAddress.md +24 -0
- data/docs/OutputFrejaDocument.md +24 -0
- data/docs/PanamaCedulaLookupInput.md +20 -0
- data/docs/PanamaCedulaProviderOutput.md +32 -0
- data/docs/PeruDniProviderOutput.md +1 -1
- data/docs/PhilippinesDigitalNidProviderOutput.md +21 -1
- data/docs/PhilippinesPhysicalNidProviderOutput.md +17 -1
- data/docs/PolandMobywatelMatchInput.md +32 -0
- data/docs/PolandMobywatelMatchProviderOutput.md +56 -0
- data/docs/PostOfficeEasyIdProviderOutput.md +2 -2
- data/docs/Provider.md +2 -0
- data/docs/ProviderInput.md +26 -0
- data/docs/ProviderOutput.md +54 -2
- data/docs/ProviderSupportedLanguage.md +20 -0
- data/docs/ProvidersApi.md +70 -0
- data/docs/Raw18013DocumentRequest.md +20 -0
- data/docs/Raw18013RequestInput.md +18 -0
- data/docs/RecommendProviderInformation.md +3 -3
- data/docs/RecommendProvidersResponse.md +3 -1
- data/docs/SamsungWalletInput.md +18 -0
- data/docs/SessionsApi.md +0 -72
- data/docs/SignzyIndiaAadhaarFetchProviderOutput.md +40 -0
- data/docs/SingpassLoginProviderOutput.md +30 -0
- data/docs/SingpassMyInfoDescription.md +20 -0
- data/docs/SingpassMyInfoProviderOutput.md +20 -0
- data/docs/SingpassMyInfoRegisteredAddressOutput.md +36 -0
- data/docs/SingpassPersonalCatalog.md +64 -0
- data/docs/SingpassPhoneNumber.md +22 -0
- data/docs/SmartIdProviderOutput.md +1 -1
- data/docs/SwedenBankIdProviderOutput.md +3 -3
- data/docs/UkEvisaLookupInput.md +20 -0
- data/docs/UnitedKingdomEvisaProviderOutput.md +38 -0
- data/docs/UsaCaliforniaDmvInput.md +18 -0
- data/docs/VerificationProfileResponse.md +4 -0
- data/docs/VerificationProfilesApi.md +76 -0
- data/docs/YotiDeeplinkProviderOutput.md +40 -0
- data/docs/YotiProviderOutput.md +2 -2
- data/lib/trinsic_api/api/providers_api.rb +64 -1
- data/lib/trinsic_api/api/redirect_uris_api.rb +1 -1
- data/lib/trinsic_api/api/sessions_api.rb +1 -65
- data/lib/trinsic_api/api/verification_profiles_api.rb +80 -4
- data/lib/trinsic_api/api_client.rb +7 -3
- data/lib/trinsic_api/api_error.rb +1 -1
- data/lib/trinsic_api/api_model_base.rb +88 -0
- data/lib/trinsic_api/configuration.rb +1 -1
- data/lib/trinsic_api/models/aadhaar_address.rb +271 -0
- data/lib/trinsic_api/models/aadhaar_claims.rb +182 -0
- data/lib/trinsic_api/models/aadhaar_input.rb +2 -75
- data/lib/trinsic_api/models/aadhaar_language.rb +177 -0
- data/lib/trinsic_api/models/aadhaar_localized_claims.rb +171 -0
- data/lib/trinsic_api/models/add_redirect_uri_request.rb +4 -77
- data/lib/trinsic_api/models/add_redirect_uri_response.rb +2 -75
- data/lib/trinsic_api/models/address.rb +2 -75
- data/lib/trinsic_api/models/apple_wallet_input.rb +18 -80
- data/lib/trinsic_api/models/apple_wallet_provider_output.rb +2 -75
- data/lib/trinsic_api/models/attachment_info.rb +2 -75
- data/lib/trinsic_api/models/attribute_availability.rb +1 -1
- data/lib/trinsic_api/models/audkenni_provider_output.rb +231 -0
- data/lib/trinsic_api/models/austria_handy_signatur_provider_output.rb +2 -75
- data/lib/trinsic_api/models/belgium_id_card_provider_output.rb +2 -75
- data/lib/trinsic_api/models/bolivia_ci_lookup_input.rb +160 -0
- data/lib/trinsic_api/models/bolivia_ci_provider_output.rb +258 -0
- data/lib/trinsic_api/models/brazil_cpf_check_input.rb +30 -81
- data/lib/trinsic_api/models/brazil_digital_cnh_input.rb +4 -77
- data/lib/trinsic_api/models/cancel_session_response.rb +2 -75
- data/lib/trinsic_api/models/china_resident_id_match_input.rb +284 -0
- data/lib/trinsic_api/models/china_resident_id_match_output.rb +172 -0
- data/lib/trinsic_api/models/colombia_cc_lookup_input.rb +160 -0
- data/lib/trinsic_api/models/colombia_cc_provider_output.rb +411 -0
- data/lib/trinsic_api/models/colombia_expedition_place.rb +161 -0
- data/lib/trinsic_api/models/connect_id_address.rb +193 -0
- data/lib/trinsic_api/models/connect_id_age_verification.rb +160 -0
- data/lib/trinsic_api/models/connect_id_provider_output.rb +249 -0
- data/lib/trinsic_api/models/contract_attachment.rb +2 -75
- data/lib/trinsic_api/models/contract_attribute.rb +2 -75
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_input.rb +2 -75
- data/lib/trinsic_api/models/cote_d_ivoire_nid_lookup2_provider_output.rb +334 -0
- data/lib/trinsic_api/models/create_direct_provider_session_request.rb +18 -78
- data/lib/trinsic_api/models/create_direct_provider_session_response.rb +2 -75
- data/lib/trinsic_api/models/create_hosted_provider_session_request.rb +20 -80
- data/lib/trinsic_api/models/create_hosted_provider_session_response.rb +2 -75
- data/lib/trinsic_api/models/create_verification_profile_response.rb +2 -75
- data/lib/trinsic_api/models/czech_moje_id_address_output.rb +204 -0
- data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +414 -0
- data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +3 -76
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +232 -0
- data/lib/trinsic_api/models/document_data.rb +2 -75
- data/lib/trinsic_api/models/document_type.rb +1 -1
- data/lib/trinsic_api/models/el_salvador_dui_lookup_input.rb +160 -0
- data/lib/trinsic_api/models/el_salvador_dui_provider_output.rb +220 -0
- data/lib/trinsic_api/models/estonia_id_card_provider_output.rb +2 -75
- data/lib/trinsic_api/models/fayda_provider_address.rb +171 -0
- data/lib/trinsic_api/models/fayda_provider_output.rb +107 -81
- data/lib/trinsic_api/models/finland_id_card_provider_output.rb +2 -75
- data/lib/trinsic_api/models/finnish_trust_network_provider_output.rb +260 -0
- data/lib/trinsic_api/models/france_identite_input.rb +149 -0
- data/lib/trinsic_api/models/france_identite_provider_output.rb +166 -0
- data/lib/trinsic_api/models/freja_indirect_provider_output.rb +247 -0
- data/lib/trinsic_api/models/freja_provider_output.rb +187 -166
- data/lib/trinsic_api/models/french_numerique_given_name.rb +3 -76
- data/lib/trinsic_api/models/french_numerique_nationality.rb +2 -75
- data/lib/trinsic_api/models/french_numerique_phone.rb +2 -75
- data/lib/trinsic_api/models/french_numerique_provider_output.rb +9 -82
- data/lib/trinsic_api/models/get_attachment_request.rb +4 -77
- data/lib/trinsic_api/models/get_attachment_response.rb +2 -75
- data/lib/trinsic_api/models/get_provider_response.rb +165 -0
- data/lib/trinsic_api/models/get_session_response.rb +2 -75
- data/lib/trinsic_api/models/get_session_result_request.rb +2 -75
- data/lib/trinsic_api/models/get_session_result_response.rb +2 -75
- data/lib/trinsic_api/models/google_wallet_input.rb +18 -80
- data/lib/trinsic_api/models/google_wallet_provider_output.rb +2 -75
- data/lib/trinsic_api/models/guatemala_cui_lookup_input.rb +149 -0
- data/lib/trinsic_api/models/guatemala_cui_provider_output.rb +395 -0
- data/lib/trinsic_api/models/identity_data.rb +2 -75
- data/lib/trinsic_api/models/idin_input.rb +2 -75
- data/lib/trinsic_api/models/india_pan_lookup_input.rb +174 -0
- data/lib/trinsic_api/models/india_pan_lookup_provider_output.rb +227 -0
- data/lib/trinsic_api/models/india_pan_structured_number.rb +284 -0
- data/lib/trinsic_api/models/indonesia_dukcapil_match_input.rb +2 -75
- data/lib/trinsic_api/models/indonesia_nik_input.rb +6 -79
- data/lib/trinsic_api/models/integration_capability.rb +1 -1
- data/lib/trinsic_api/models/integration_launch_method.rb +1 -1
- data/lib/trinsic_api/models/integration_step.rb +3 -76
- data/lib/trinsic_api/models/itsme_provider_output.rb +2 -75
- data/lib/trinsic_api/models/kenya_nid_biometric2_input.rb +3 -76
- data/lib/trinsic_api/models/kenya_nid_input.rb +10 -83
- data/lib/trinsic_api/models/kenya_nid_lookup2_address.rb +2 -75
- data/lib/trinsic_api/models/kenya_nid_lookup2_input.rb +3 -76
- data/lib/trinsic_api/models/kenya_nid_lookup2_provider_output.rb +3 -76
- data/lib/trinsic_api/models/kenya_nid_match2_input.rb +3 -76
- data/lib/trinsic_api/models/kenya_nid_match2_input_sex.rb +1 -1
- data/lib/trinsic_api/models/korea_telco_match_input.rb +340 -0
- data/lib/trinsic_api/models/korea_telco_match_provider_output.rb +220 -0
- data/lib/trinsic_api/models/korea_telco_match_sex.rb +40 -0
- data/lib/trinsic_api/models/la_wallet_provider_output.rb +2 -75
- data/lib/trinsic_api/models/latvia_eparaksts_mobile_provider_output.rb +2 -75
- data/lib/trinsic_api/models/latvia_eparaksts_provider_output.rb +2 -75
- data/lib/trinsic_api/models/list_providers_response.rb +2 -75
- data/lib/trinsic_api/models/list_redirect_uris_response.rb +2 -75
- data/lib/trinsic_api/models/list_sessions_response.rb +2 -75
- data/lib/trinsic_api/models/list_verification_profiles_response.rb +2 -75
- data/lib/trinsic_api/models/lithuania_id_card_provider_output.rb +2 -75
- data/lib/trinsic_api/models/lloyds_smart_id_provider_output.rb +4 -77
- data/lib/trinsic_api/models/match.rb +2 -75
- data/lib/trinsic_api/models/match_data.rb +2 -75
- data/lib/trinsic_api/models/mdl_exchange_mechanism.rb +1 -1
- data/lib/trinsic_api/models/mdl_output.rb +4 -77
- data/lib/trinsic_api/models/mdl_output_certificate_data.rb +2 -75
- data/lib/trinsic_api/models/mdl_output_field_data.rb +2 -75
- data/lib/trinsic_api/models/mdl_output_field_data_type.rb +1 -1
- data/lib/trinsic_api/models/mexico_curp_input.rb +4 -77
- data/lib/trinsic_api/models/mexico_curp_provider_output.rb +2 -75
- data/lib/trinsic_api/models/mit_id_provider_output.rb +7 -80
- data/lib/trinsic_api/models/mobile_carrier.rb +41 -0
- data/lib/trinsic_api/models/mobile_id_input.rb +2 -75
- data/lib/trinsic_api/models/mobile_id_language.rb +1 -1
- data/lib/trinsic_api/models/mobile_id_provider_output.rb +2 -75
- data/lib/trinsic_api/models/mobile_operating_system.rb +41 -0
- data/lib/trinsic_api/models/netherlands_idin_address.rb +273 -0
- data/lib/trinsic_api/models/netherlands_idin_provider_output.rb +377 -0
- data/lib/trinsic_api/models/nigeria_nin_biometric2_input.rb +2 -75
- data/lib/trinsic_api/models/nigeria_nin_input.rb +8 -81
- data/lib/trinsic_api/models/nigeria_nin_lookup2_input.rb +2 -75
- data/lib/trinsic_api/models/nigeria_nin_lookup2_provider_output.rb +319 -0
- data/lib/trinsic_api/models/nigeria_nin_match2_input.rb +2 -75
- data/lib/trinsic_api/models/nigeria_nin_match2_input_sex.rb +1 -1
- data/lib/trinsic_api/models/norwegian_bank_id_provider_output.rb +227 -0
- data/lib/trinsic_api/models/one_id_provider_address.rb +193 -0
- data/lib/trinsic_api/models/one_id_provider_output.rb +205 -0
- data/lib/trinsic_api/models/order_direction.rb +1 -1
- data/lib/trinsic_api/models/output_freja_address.rb +182 -0
- data/lib/trinsic_api/models/output_freja_document.rb +182 -0
- data/lib/trinsic_api/models/panama_cedula_lookup_input.rb +160 -0
- data/lib/trinsic_api/models/panama_cedula_provider_output.rb +307 -0
- data/lib/trinsic_api/models/person_data.rb +2 -75
- data/lib/trinsic_api/models/peru_dni_address.rb +2 -75
- data/lib/trinsic_api/models/peru_dni_lookup_input.rb +2 -75
- data/lib/trinsic_api/models/peru_dni_provider_output.rb +3 -76
- data/lib/trinsic_api/models/philippine_match_input.rb +2 -75
- data/lib/trinsic_api/models/philippine_qr_input.rb +2 -75
- data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +116 -79
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +94 -79
- data/lib/trinsic_api/models/poland_edo_app_provider_output.rb +2 -75
- data/lib/trinsic_api/models/poland_mobywatel_match_input.rb +226 -0
- data/lib/trinsic_api/models/poland_mobywatel_match_provider_output.rb +359 -0
- data/lib/trinsic_api/models/poland_moje_id_provider_output.rb +2 -75
- data/lib/trinsic_api/models/portugal_id_card_provider_output.rb +2 -75
- data/lib/trinsic_api/models/post_office_easy_id_provider_output.rb +4 -77
- data/lib/trinsic_api/models/problem_details.rb +2 -75
- data/lib/trinsic_api/models/provider.rb +16 -76
- data/lib/trinsic_api/models/provider_health.rb +1 -1
- data/lib/trinsic_api/models/provider_input.rb +146 -76
- data/lib/trinsic_api/models/provider_output.rb +294 -81
- data/lib/trinsic_api/models/provider_supported_language.rb +176 -0
- data/lib/trinsic_api/models/raw18013_document_request.rb +203 -0
- data/lib/trinsic_api/models/raw18013_request_input.rb +186 -0
- data/lib/trinsic_api/models/recommend_provider_health_option.rb +1 -1
- data/lib/trinsic_api/models/recommend_provider_information.rb +2 -75
- data/lib/trinsic_api/models/recommend_providers_request.rb +2 -75
- data/lib/trinsic_api/models/recommend_providers_response.rb +35 -79
- data/lib/trinsic_api/models/recommendation_info.rb +2 -75
- data/lib/trinsic_api/models/redirect_uri_response.rb +4 -77
- data/lib/trinsic_api/models/refresh_step_content_request.rb +4 -77
- data/lib/trinsic_api/models/refresh_step_content_response.rb +2 -75
- data/lib/trinsic_api/models/result_collection.rb +2 -75
- data/lib/trinsic_api/models/result_collection_method.rb +1 -1
- data/lib/trinsic_api/models/samsung_wallet_input.rb +149 -0
- data/lib/trinsic_api/models/samsung_wallet_provider_output.rb +2 -75
- data/lib/trinsic_api/models/serbia_id_card_provider_output.rb +2 -75
- data/lib/trinsic_api/models/session.rb +2 -75
- data/lib/trinsic_api/models/session_error_code.rb +1 -1
- data/lib/trinsic_api/models/session_ordering.rb +1 -1
- data/lib/trinsic_api/models/sex.rb +1 -1
- data/lib/trinsic_api/models/signzy_india_aadhaar_fetch_provider_output.rb +305 -0
- data/lib/trinsic_api/models/singpass_login_provider_output.rb +216 -0
- data/lib/trinsic_api/models/singpass_my_info_description.rb +160 -0
- data/lib/trinsic_api/models/singpass_my_info_provider_output.rb +161 -0
- data/lib/trinsic_api/models/{http_validation_problem_details.rb → singpass_my_info_registered_address_output.rb} +91 -126
- data/lib/trinsic_api/models/singpass_personal_catalog.rb +403 -0
- data/lib/trinsic_api/models/singpass_phone_number.rb +172 -0
- data/lib/trinsic_api/models/smart_id_input.rb +2 -75
- data/lib/trinsic_api/models/smart_id_provider_output.rb +3 -76
- data/lib/trinsic_api/models/south_africa_nid_biometric2_input.rb +2 -75
- data/lib/trinsic_api/models/south_africa_nid_input.rb +8 -81
- data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +2 -75
- data/lib/trinsic_api/models/south_africa_nid_match2_input.rb +2 -75
- data/lib/trinsic_api/models/south_africa_nid_match2_input_sex.rb +1 -1
- data/lib/trinsic_api/models/spid_billing_information.rb +2 -75
- data/lib/trinsic_api/models/spid_input.rb +2 -75
- data/lib/trinsic_api/models/spid_provider_output.rb +2 -75
- data/lib/trinsic_api/models/step_refresh_info.rb +2 -75
- data/lib/trinsic_api/models/sub_provider_metadata.rb +2 -75
- data/lib/trinsic_api/models/submit_native_challenge_response_request.rb +6 -79
- data/lib/trinsic_api/models/submit_native_challenge_response_response.rb +2 -75
- data/lib/trinsic_api/models/sweden_bank_id_provider_output.rb +5 -78
- data/lib/trinsic_api/models/trinsic_test_database_lookup_input.rb +2 -75
- data/lib/trinsic_api/models/trinsic_test_sub_providers_input.rb +2 -75
- data/lib/trinsic_api/models/uganda_nid_match2_input.rb +2 -75
- data/lib/trinsic_api/models/uk_evisa_lookup_input.rb +210 -0
- data/lib/trinsic_api/models/united_kingdom_evisa_provider_output.rb +260 -0
- data/lib/trinsic_api/models/usa_california_dmv_input.rb +149 -0
- data/lib/trinsic_api/models/verification_profile_response.rb +41 -76
- data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +271 -0
- data/lib/trinsic_api/models/yoti_document_details.rb +2 -75
- data/lib/trinsic_api/models/yoti_provider_output.rb +4 -77
- data/lib/trinsic_api/models/yoti_structured_postal_address.rb +2 -75
- data/lib/trinsic_api/models/zimbabwe_nid_lookup2_input.rb +2 -75
- data/lib/trinsic_api/version.rb +2 -2
- data/lib/trinsic_api.rb +66 -4
- data/spec/api/providers_api_spec.rb +13 -1
- data/spec/api/redirect_uris_api_spec.rb +1 -1
- data/spec/api/sessions_api_spec.rb +1 -13
- data/spec/api/verification_profiles_api_spec.rb +16 -1
- data/spec/models/aadhaar_address_spec.rb +102 -0
- data/spec/models/{create_widget_session_request_spec.rb → aadhaar_claims_spec.rb} +11 -11
- data/spec/models/aadhaar_input_spec.rb +2 -2
- data/spec/models/aadhaar_language_spec.rb +42 -0
- data/spec/models/aadhaar_localized_claims_spec.rb +48 -0
- data/spec/models/add_redirect_uri_request_spec.rb +2 -2
- data/spec/models/add_redirect_uri_response_spec.rb +2 -2
- data/spec/models/address_spec.rb +2 -2
- data/spec/models/apple_wallet_input_spec.rb +8 -2
- data/spec/models/apple_wallet_provider_output_spec.rb +2 -2
- data/spec/models/attachment_info_spec.rb +2 -2
- data/spec/models/attribute_availability_spec.rb +2 -2
- data/spec/models/audkenni_provider_output_spec.rb +54 -0
- data/spec/models/austria_handy_signatur_provider_output_spec.rb +2 -2
- data/spec/models/belgium_id_card_provider_output_spec.rb +2 -2
- data/spec/models/bolivia_ci_lookup_input_spec.rb +42 -0
- data/spec/models/bolivia_ci_provider_output_spec.rb +60 -0
- data/spec/models/brazil_cpf_check_input_spec.rb +14 -2
- data/spec/models/brazil_digital_cnh_input_spec.rb +2 -2
- data/spec/models/cancel_session_response_spec.rb +2 -2
- data/spec/models/china_resident_id_match_input_spec.rb +54 -0
- data/spec/models/china_resident_id_match_output_spec.rb +48 -0
- data/spec/models/colombia_cc_lookup_input_spec.rb +42 -0
- data/spec/models/colombia_cc_provider_output_spec.rb +90 -0
- data/spec/models/colombia_expedition_place_spec.rb +42 -0
- data/spec/models/connect_id_address_spec.rb +60 -0
- data/spec/models/connect_id_age_verification_spec.rb +42 -0
- data/spec/models/connect_id_provider_output_spec.rb +90 -0
- data/spec/models/contract_attachment_spec.rb +2 -2
- data/spec/models/contract_attribute_spec.rb +2 -2
- data/spec/models/cote_d_ivoire_nid_lookup2_input_spec.rb +2 -2
- data/spec/models/cote_d_ivoire_nid_lookup2_provider_output_spec.rb +84 -0
- data/spec/models/create_direct_provider_session_request_spec.rb +8 -2
- data/spec/models/create_direct_provider_session_response_spec.rb +2 -2
- data/spec/models/create_hosted_provider_session_request_spec.rb +8 -2
- data/spec/models/create_hosted_provider_session_response_spec.rb +2 -2
- data/spec/models/create_verification_profile_response_spec.rb +2 -2
- data/spec/models/czech_moje_id_address_output_spec.rb +66 -0
- data/spec/models/czech_moje_id_provider_output_spec.rb +180 -0
- data/spec/models/czechia_moje_id_provider_output_spec.rb +2 -2
- data/spec/models/digilocker_aadhaar_provider_output_spec.rb +72 -0
- data/spec/models/document_data_spec.rb +2 -2
- data/spec/models/document_type_spec.rb +2 -2
- data/spec/models/el_salvador_dui_lookup_input_spec.rb +42 -0
- data/spec/models/{create_widget_session_response_spec.rb → el_salvador_dui_provider_output_spec.rb} +10 -10
- data/spec/models/estonia_id_card_provider_output_spec.rb +2 -2
- data/spec/models/fayda_provider_address_spec.rb +48 -0
- data/spec/models/fayda_provider_output_spec.rb +56 -2
- data/spec/models/finland_id_card_provider_output_spec.rb +2 -2
- data/spec/models/finnish_trust_network_provider_output_spec.rb +96 -0
- data/spec/models/france_identite_input_spec.rb +36 -0
- data/spec/models/france_identite_provider_output_spec.rb +36 -0
- data/spec/models/freja_indirect_provider_output_spec.rb +54 -0
- data/spec/models/freja_provider_output_spec.rb +90 -6
- data/spec/models/french_numerique_given_name_spec.rb +2 -2
- data/spec/models/french_numerique_nationality_spec.rb +2 -2
- data/spec/models/french_numerique_phone_spec.rb +2 -2
- data/spec/models/french_numerique_provider_output_spec.rb +2 -2
- data/spec/models/get_attachment_request_spec.rb +2 -2
- data/spec/models/get_attachment_response_spec.rb +2 -2
- data/spec/models/get_provider_response_spec.rb +36 -0
- data/spec/models/get_session_response_spec.rb +2 -2
- data/spec/models/get_session_result_request_spec.rb +2 -2
- data/spec/models/get_session_result_response_spec.rb +2 -2
- data/spec/models/google_wallet_input_spec.rb +8 -2
- data/spec/models/google_wallet_provider_output_spec.rb +2 -2
- data/spec/models/guatemala_cui_lookup_input_spec.rb +36 -0
- data/spec/models/guatemala_cui_provider_output_spec.rb +90 -0
- data/spec/models/identity_data_spec.rb +2 -2
- data/spec/models/idin_input_spec.rb +2 -2
- data/spec/models/india_pan_lookup_input_spec.rb +36 -0
- data/spec/models/india_pan_lookup_provider_output_spec.rb +78 -0
- data/spec/models/india_pan_structured_number_spec.rb +66 -0
- data/spec/models/indonesia_dukcapil_match_input_spec.rb +2 -2
- data/spec/models/indonesia_nik_input_spec.rb +2 -2
- data/spec/models/integration_capability_spec.rb +2 -2
- data/spec/models/integration_launch_method_spec.rb +2 -2
- data/spec/models/integration_step_spec.rb +2 -2
- data/spec/models/itsme_provider_output_spec.rb +2 -2
- data/spec/models/kenya_nid_biometric2_input_spec.rb +2 -2
- data/spec/models/kenya_nid_input_spec.rb +2 -2
- data/spec/models/kenya_nid_lookup2_address_spec.rb +2 -2
- data/spec/models/kenya_nid_lookup2_input_spec.rb +2 -2
- data/spec/models/kenya_nid_lookup2_provider_output_spec.rb +2 -2
- data/spec/models/kenya_nid_match2_input_sex_spec.rb +2 -2
- data/spec/models/kenya_nid_match2_input_spec.rb +2 -2
- data/spec/models/{http_validation_problem_details_spec.rb → korea_telco_match_input_spec.rb} +13 -13
- data/spec/models/korea_telco_match_provider_output_spec.rb +48 -0
- data/spec/models/korea_telco_match_sex_spec.rb +30 -0
- data/spec/models/la_wallet_provider_output_spec.rb +2 -2
- data/spec/models/latvia_eparaksts_mobile_provider_output_spec.rb +2 -2
- data/spec/models/latvia_eparaksts_provider_output_spec.rb +2 -2
- data/spec/models/list_providers_response_spec.rb +2 -2
- data/spec/models/list_redirect_uris_response_spec.rb +2 -2
- data/spec/models/list_sessions_response_spec.rb +2 -2
- data/spec/models/list_verification_profiles_response_spec.rb +2 -2
- data/spec/models/lithuania_id_card_provider_output_spec.rb +2 -2
- data/spec/models/lloyds_smart_id_provider_output_spec.rb +2 -2
- data/spec/models/match_data_spec.rb +2 -2
- data/spec/models/match_spec.rb +2 -2
- data/spec/models/mdl_exchange_mechanism_spec.rb +2 -2
- data/spec/models/mdl_output_certificate_data_spec.rb +2 -2
- data/spec/models/mdl_output_field_data_spec.rb +2 -2
- data/spec/models/mdl_output_field_data_type_spec.rb +2 -2
- data/spec/models/mdl_output_spec.rb +2 -2
- data/spec/models/mexico_curp_input_spec.rb +2 -2
- data/spec/models/mexico_curp_provider_output_spec.rb +2 -2
- data/spec/models/mit_id_provider_output_spec.rb +2 -2
- data/spec/models/mobile_carrier_spec.rb +30 -0
- data/spec/models/mobile_id_input_spec.rb +2 -2
- data/spec/models/mobile_id_language_spec.rb +2 -2
- data/spec/models/mobile_id_provider_output_spec.rb +2 -2
- data/spec/models/mobile_operating_system_spec.rb +30 -0
- data/spec/models/netherlands_idin_address_spec.rb +60 -0
- data/spec/models/netherlands_idin_provider_output_spec.rb +90 -0
- data/spec/models/nigeria_nin_biometric2_input_spec.rb +2 -2
- data/spec/models/nigeria_nin_input_spec.rb +2 -2
- data/spec/models/nigeria_nin_lookup2_input_spec.rb +2 -2
- data/spec/models/nigeria_nin_lookup2_provider_output_spec.rb +102 -0
- data/spec/models/nigeria_nin_match2_input_sex_spec.rb +2 -2
- data/spec/models/nigeria_nin_match2_input_spec.rb +2 -2
- data/spec/models/norwegian_bank_id_provider_output_spec.rb +78 -0
- data/spec/models/one_id_provider_address_spec.rb +60 -0
- data/spec/models/one_id_provider_output_spec.rb +66 -0
- data/spec/models/order_direction_spec.rb +2 -2
- data/spec/models/output_freja_address_spec.rb +54 -0
- data/spec/models/output_freja_document_spec.rb +54 -0
- data/spec/models/panama_cedula_lookup_input_spec.rb +42 -0
- data/spec/models/panama_cedula_provider_output_spec.rb +78 -0
- data/spec/models/person_data_spec.rb +2 -2
- data/spec/models/peru_dni_address_spec.rb +2 -2
- data/spec/models/peru_dni_lookup_input_spec.rb +2 -2
- data/spec/models/peru_dni_provider_output_spec.rb +2 -2
- data/spec/models/philippine_match_input_spec.rb +2 -2
- data/spec/models/philippine_qr_input_spec.rb +2 -2
- data/spec/models/philippines_digital_nid_provider_output_spec.rb +62 -2
- data/spec/models/philippines_physical_nid_provider_output_spec.rb +50 -2
- data/spec/models/poland_edo_app_provider_output_spec.rb +2 -2
- data/spec/models/poland_mobywatel_match_input_spec.rb +78 -0
- data/spec/models/poland_mobywatel_match_provider_output_spec.rb +150 -0
- data/spec/models/poland_moje_id_provider_output_spec.rb +2 -2
- data/spec/models/portugal_id_card_provider_output_spec.rb +2 -2
- data/spec/models/post_office_easy_id_provider_output_spec.rb +2 -2
- data/spec/models/problem_details_spec.rb +2 -2
- data/spec/models/provider_health_spec.rb +2 -2
- data/spec/models/provider_input_spec.rb +80 -2
- data/spec/models/provider_output_spec.rb +158 -2
- data/spec/models/provider_spec.rb +8 -2
- data/spec/models/provider_supported_language_spec.rb +42 -0
- data/spec/models/raw18013_document_request_spec.rb +42 -0
- data/spec/models/raw18013_request_input_spec.rb +36 -0
- data/spec/models/recommend_provider_health_option_spec.rb +2 -2
- data/spec/models/recommend_provider_information_spec.rb +2 -2
- data/spec/models/recommend_providers_request_spec.rb +2 -2
- data/spec/models/recommend_providers_response_spec.rb +8 -2
- data/spec/models/recommendation_info_spec.rb +2 -2
- data/spec/models/redirect_uri_response_spec.rb +2 -2
- data/spec/models/refresh_step_content_request_spec.rb +2 -2
- data/spec/models/refresh_step_content_response_spec.rb +2 -2
- data/spec/models/result_collection_method_spec.rb +2 -2
- data/spec/models/result_collection_spec.rb +2 -2
- data/spec/models/samsung_wallet_input_spec.rb +36 -0
- data/spec/models/samsung_wallet_provider_output_spec.rb +2 -2
- data/spec/models/serbia_id_card_provider_output_spec.rb +2 -2
- data/spec/models/session_error_code_spec.rb +2 -2
- data/spec/models/session_ordering_spec.rb +2 -2
- data/spec/models/session_spec.rb +2 -2
- data/spec/models/sex_spec.rb +2 -2
- data/spec/models/signzy_india_aadhaar_fetch_provider_output_spec.rb +102 -0
- data/spec/models/singpass_login_provider_output_spec.rb +72 -0
- data/spec/models/singpass_my_info_description_spec.rb +42 -0
- data/spec/models/singpass_my_info_provider_output_spec.rb +42 -0
- data/spec/models/singpass_my_info_registered_address_output_spec.rb +90 -0
- data/spec/models/singpass_personal_catalog_spec.rb +174 -0
- data/spec/models/singpass_phone_number_spec.rb +48 -0
- data/spec/models/smart_id_input_spec.rb +2 -2
- data/spec/models/smart_id_provider_output_spec.rb +2 -2
- data/spec/models/south_africa_nid_biometric2_input_spec.rb +2 -2
- data/spec/models/south_africa_nid_input_spec.rb +2 -2
- data/spec/models/south_africa_nid_lookup2_input_spec.rb +2 -2
- data/spec/models/south_africa_nid_match2_input_sex_spec.rb +2 -2
- data/spec/models/south_africa_nid_match2_input_spec.rb +2 -2
- data/spec/models/spid_billing_information_spec.rb +2 -2
- data/spec/models/spid_input_spec.rb +2 -2
- data/spec/models/spid_provider_output_spec.rb +2 -2
- data/spec/models/step_refresh_info_spec.rb +2 -2
- data/spec/models/sub_provider_metadata_spec.rb +2 -2
- data/spec/models/submit_native_challenge_response_request_spec.rb +2 -2
- data/spec/models/submit_native_challenge_response_response_spec.rb +2 -2
- data/spec/models/sweden_bank_id_provider_output_spec.rb +2 -2
- data/spec/models/trinsic_test_database_lookup_input_spec.rb +2 -2
- data/spec/models/trinsic_test_sub_providers_input_spec.rb +2 -2
- data/spec/models/uganda_nid_match2_input_spec.rb +2 -2
- data/spec/models/uk_evisa_lookup_input_spec.rb +42 -0
- data/spec/models/united_kingdom_evisa_provider_output_spec.rb +96 -0
- data/spec/models/usa_california_dmv_input_spec.rb +36 -0
- data/spec/models/verification_profile_response_spec.rb +14 -2
- data/spec/models/yoti_deeplink_provider_output_spec.rb +102 -0
- data/spec/models/yoti_document_details_spec.rb +2 -2
- data/spec/models/yoti_provider_output_spec.rb +2 -2
- data/spec/models/yoti_structured_postal_address_spec.rb +2 -2
- data/spec/models/zimbabwe_nid_lookup2_input_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- data/trinsic_api.gemspec +1 -1
- metadata +381 -136
- data/docs/CreateWidgetSessionRequest.md +0 -24
- data/docs/CreateWidgetSessionResponse.md +0 -22
- data/docs/HttpValidationProblemDetails.md +0 -28
- data/lib/trinsic_api/models/create_widget_session_request.rb +0 -273
- data/lib/trinsic_api/models/create_widget_session_response.rb +0 -292
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v1
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class PeruDniLookupInput
|
|
17
|
+
class PeruDniLookupInput < ApiModelBase
|
|
18
18
|
# The user's DNI number (8 digits). Format: - Must not include verification digit. On the DNI card, a ninth digit appears after the first eight, with value 0-9 or A-K. This is not included in the DNI number when verifying against Peru's database. - Peru DNI is sometimes represented with dots. Though uncommon, if dots are included, they will be sanitized.
|
|
19
19
|
attr_accessor :document_number
|
|
20
20
|
|
|
@@ -128,61 +128,6 @@ module TrinsicApi
|
|
|
128
128
|
new(transformed_hash)
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
-
# Deserializes the data based on type
|
|
132
|
-
# @param string type Data type
|
|
133
|
-
# @param string value Value to be deserialized
|
|
134
|
-
# @return [Object] Deserialized data
|
|
135
|
-
def self._deserialize(type, value)
|
|
136
|
-
case type.to_sym
|
|
137
|
-
when :Time
|
|
138
|
-
Time.parse(value)
|
|
139
|
-
when :Date
|
|
140
|
-
Date.parse(value)
|
|
141
|
-
when :String
|
|
142
|
-
value.to_s
|
|
143
|
-
when :Integer
|
|
144
|
-
value.to_i
|
|
145
|
-
when :Float
|
|
146
|
-
value.to_f
|
|
147
|
-
when :Boolean
|
|
148
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
149
|
-
true
|
|
150
|
-
else
|
|
151
|
-
false
|
|
152
|
-
end
|
|
153
|
-
when :Object
|
|
154
|
-
# generic object (usually a Hash), return directly
|
|
155
|
-
value
|
|
156
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
157
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
158
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
159
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
160
|
-
k_type = Regexp.last_match[:k_type]
|
|
161
|
-
v_type = Regexp.last_match[:v_type]
|
|
162
|
-
{}.tap do |hash|
|
|
163
|
-
value.each do |k, v|
|
|
164
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
else # model
|
|
168
|
-
# models (e.g. Pet) or oneOf
|
|
169
|
-
klass = TrinsicApi.const_get(type)
|
|
170
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
171
|
-
end
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
# Returns the string representation of the object
|
|
175
|
-
# @return [String] String presentation of the object
|
|
176
|
-
def to_s
|
|
177
|
-
to_hash.to_s
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
181
|
-
# @return [Hash] Returns the object in the form of hash
|
|
182
|
-
def to_body
|
|
183
|
-
to_hash
|
|
184
|
-
end
|
|
185
|
-
|
|
186
131
|
# Returns the object in the form of hash
|
|
187
132
|
# @return [Hash] Returns the object in the form of hash
|
|
188
133
|
def to_hash
|
|
@@ -199,24 +144,6 @@ module TrinsicApi
|
|
|
199
144
|
hash
|
|
200
145
|
end
|
|
201
146
|
|
|
202
|
-
# Outputs non-array value in the form of hash
|
|
203
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
204
|
-
# @param [Object] value Any valid value
|
|
205
|
-
# @return [Hash] Returns the value in the form of hash
|
|
206
|
-
def _to_hash(value)
|
|
207
|
-
if value.is_a?(Array)
|
|
208
|
-
value.compact.map { |v| _to_hash(v) }
|
|
209
|
-
elsif value.is_a?(Hash)
|
|
210
|
-
{}.tap do |hash|
|
|
211
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
212
|
-
end
|
|
213
|
-
elsif value.respond_to? :to_hash
|
|
214
|
-
value.to_hash
|
|
215
|
-
else
|
|
216
|
-
value
|
|
217
|
-
end
|
|
218
|
-
end
|
|
219
|
-
|
|
220
147
|
end
|
|
221
148
|
|
|
222
149
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v1
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
# Exposed properties for the `peru-dni-lookup` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
-
class PeruDniProviderOutput
|
|
18
|
+
class PeruDniProviderOutput < ApiModelBase
|
|
19
19
|
# Information about the general area in which the DNI holder resides. This field is not always available.
|
|
20
20
|
attr_accessor :address
|
|
21
21
|
|
|
@@ -28,7 +28,7 @@ module TrinsicApi
|
|
|
28
28
|
# Date of birth as it appears on the DNI. This field is not always available.
|
|
29
29
|
attr_accessor :date_of_birth
|
|
30
30
|
|
|
31
|
-
# The
|
|
31
|
+
# The individual's National Identity Document number (Documento Nacional de Identidad or DNI). Format: - 8 digits - Does NOT include verification digit. On the DNI card, a ninth digit appears next to the first eight. It is 0-9 or A-K. This is NOT included in the DNI number when returned from Peru's database. - Does NOT include dots or hyphens
|
|
32
32
|
attr_accessor :document_number
|
|
33
33
|
|
|
34
34
|
# Should always be \"DNI\".
|
|
@@ -424,61 +424,6 @@ module TrinsicApi
|
|
|
424
424
|
new(transformed_hash)
|
|
425
425
|
end
|
|
426
426
|
|
|
427
|
-
# Deserializes the data based on type
|
|
428
|
-
# @param string type Data type
|
|
429
|
-
# @param string value Value to be deserialized
|
|
430
|
-
# @return [Object] Deserialized data
|
|
431
|
-
def self._deserialize(type, value)
|
|
432
|
-
case type.to_sym
|
|
433
|
-
when :Time
|
|
434
|
-
Time.parse(value)
|
|
435
|
-
when :Date
|
|
436
|
-
Date.parse(value)
|
|
437
|
-
when :String
|
|
438
|
-
value.to_s
|
|
439
|
-
when :Integer
|
|
440
|
-
value.to_i
|
|
441
|
-
when :Float
|
|
442
|
-
value.to_f
|
|
443
|
-
when :Boolean
|
|
444
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
445
|
-
true
|
|
446
|
-
else
|
|
447
|
-
false
|
|
448
|
-
end
|
|
449
|
-
when :Object
|
|
450
|
-
# generic object (usually a Hash), return directly
|
|
451
|
-
value
|
|
452
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
453
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
454
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
455
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
456
|
-
k_type = Regexp.last_match[:k_type]
|
|
457
|
-
v_type = Regexp.last_match[:v_type]
|
|
458
|
-
{}.tap do |hash|
|
|
459
|
-
value.each do |k, v|
|
|
460
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
461
|
-
end
|
|
462
|
-
end
|
|
463
|
-
else # model
|
|
464
|
-
# models (e.g. Pet) or oneOf
|
|
465
|
-
klass = TrinsicApi.const_get(type)
|
|
466
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
467
|
-
end
|
|
468
|
-
end
|
|
469
|
-
|
|
470
|
-
# Returns the string representation of the object
|
|
471
|
-
# @return [String] String presentation of the object
|
|
472
|
-
def to_s
|
|
473
|
-
to_hash.to_s
|
|
474
|
-
end
|
|
475
|
-
|
|
476
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
477
|
-
# @return [Hash] Returns the object in the form of hash
|
|
478
|
-
def to_body
|
|
479
|
-
to_hash
|
|
480
|
-
end
|
|
481
|
-
|
|
482
427
|
# Returns the object in the form of hash
|
|
483
428
|
# @return [Hash] Returns the object in the form of hash
|
|
484
429
|
def to_hash
|
|
@@ -495,24 +440,6 @@ module TrinsicApi
|
|
|
495
440
|
hash
|
|
496
441
|
end
|
|
497
442
|
|
|
498
|
-
# Outputs non-array value in the form of hash
|
|
499
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
500
|
-
# @param [Object] value Any valid value
|
|
501
|
-
# @return [Hash] Returns the value in the form of hash
|
|
502
|
-
def _to_hash(value)
|
|
503
|
-
if value.is_a?(Array)
|
|
504
|
-
value.compact.map { |v| _to_hash(v) }
|
|
505
|
-
elsif value.is_a?(Hash)
|
|
506
|
-
{}.tap do |hash|
|
|
507
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
508
|
-
end
|
|
509
|
-
elsif value.respond_to? :to_hash
|
|
510
|
-
value.to_hash
|
|
511
|
-
else
|
|
512
|
-
value
|
|
513
|
-
end
|
|
514
|
-
end
|
|
515
|
-
|
|
516
443
|
end
|
|
517
444
|
|
|
518
445
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v1
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class PhilippineMatchInput
|
|
17
|
+
class PhilippineMatchInput < ApiModelBase
|
|
18
18
|
# The user's given / first name
|
|
19
19
|
attr_accessor :given_name
|
|
20
20
|
|
|
@@ -172,61 +172,6 @@ module TrinsicApi
|
|
|
172
172
|
new(transformed_hash)
|
|
173
173
|
end
|
|
174
174
|
|
|
175
|
-
# Deserializes the data based on type
|
|
176
|
-
# @param string type Data type
|
|
177
|
-
# @param string value Value to be deserialized
|
|
178
|
-
# @return [Object] Deserialized data
|
|
179
|
-
def self._deserialize(type, value)
|
|
180
|
-
case type.to_sym
|
|
181
|
-
when :Time
|
|
182
|
-
Time.parse(value)
|
|
183
|
-
when :Date
|
|
184
|
-
Date.parse(value)
|
|
185
|
-
when :String
|
|
186
|
-
value.to_s
|
|
187
|
-
when :Integer
|
|
188
|
-
value.to_i
|
|
189
|
-
when :Float
|
|
190
|
-
value.to_f
|
|
191
|
-
when :Boolean
|
|
192
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
193
|
-
true
|
|
194
|
-
else
|
|
195
|
-
false
|
|
196
|
-
end
|
|
197
|
-
when :Object
|
|
198
|
-
# generic object (usually a Hash), return directly
|
|
199
|
-
value
|
|
200
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
201
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
202
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
203
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
204
|
-
k_type = Regexp.last_match[:k_type]
|
|
205
|
-
v_type = Regexp.last_match[:v_type]
|
|
206
|
-
{}.tap do |hash|
|
|
207
|
-
value.each do |k, v|
|
|
208
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
209
|
-
end
|
|
210
|
-
end
|
|
211
|
-
else # model
|
|
212
|
-
# models (e.g. Pet) or oneOf
|
|
213
|
-
klass = TrinsicApi.const_get(type)
|
|
214
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
215
|
-
end
|
|
216
|
-
end
|
|
217
|
-
|
|
218
|
-
# Returns the string representation of the object
|
|
219
|
-
# @return [String] String presentation of the object
|
|
220
|
-
def to_s
|
|
221
|
-
to_hash.to_s
|
|
222
|
-
end
|
|
223
|
-
|
|
224
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
225
|
-
# @return [Hash] Returns the object in the form of hash
|
|
226
|
-
def to_body
|
|
227
|
-
to_hash
|
|
228
|
-
end
|
|
229
|
-
|
|
230
175
|
# Returns the object in the form of hash
|
|
231
176
|
# @return [Hash] Returns the object in the form of hash
|
|
232
177
|
def to_hash
|
|
@@ -243,24 +188,6 @@ module TrinsicApi
|
|
|
243
188
|
hash
|
|
244
189
|
end
|
|
245
190
|
|
|
246
|
-
# Outputs non-array value in the form of hash
|
|
247
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
248
|
-
# @param [Object] value Any valid value
|
|
249
|
-
# @return [Hash] Returns the value in the form of hash
|
|
250
|
-
def _to_hash(value)
|
|
251
|
-
if value.is_a?(Array)
|
|
252
|
-
value.compact.map { |v| _to_hash(v) }
|
|
253
|
-
elsif value.is_a?(Hash)
|
|
254
|
-
{}.tap do |hash|
|
|
255
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
256
|
-
end
|
|
257
|
-
elsif value.respond_to? :to_hash
|
|
258
|
-
value.to_hash
|
|
259
|
-
else
|
|
260
|
-
value
|
|
261
|
-
end
|
|
262
|
-
end
|
|
263
|
-
|
|
264
191
|
end
|
|
265
192
|
|
|
266
193
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v1
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class PhilippineQRInput
|
|
17
|
+
class PhilippineQRInput < ApiModelBase
|
|
18
18
|
# The raw text of the user's QR code after decoding it.
|
|
19
19
|
attr_accessor :qr_code_text
|
|
20
20
|
|
|
@@ -139,61 +139,6 @@ module TrinsicApi
|
|
|
139
139
|
new(transformed_hash)
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
# Deserializes the data based on type
|
|
143
|
-
# @param string type Data type
|
|
144
|
-
# @param string value Value to be deserialized
|
|
145
|
-
# @return [Object] Deserialized data
|
|
146
|
-
def self._deserialize(type, value)
|
|
147
|
-
case type.to_sym
|
|
148
|
-
when :Time
|
|
149
|
-
Time.parse(value)
|
|
150
|
-
when :Date
|
|
151
|
-
Date.parse(value)
|
|
152
|
-
when :String
|
|
153
|
-
value.to_s
|
|
154
|
-
when :Integer
|
|
155
|
-
value.to_i
|
|
156
|
-
when :Float
|
|
157
|
-
value.to_f
|
|
158
|
-
when :Boolean
|
|
159
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
160
|
-
true
|
|
161
|
-
else
|
|
162
|
-
false
|
|
163
|
-
end
|
|
164
|
-
when :Object
|
|
165
|
-
# generic object (usually a Hash), return directly
|
|
166
|
-
value
|
|
167
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
168
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
169
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
170
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
171
|
-
k_type = Regexp.last_match[:k_type]
|
|
172
|
-
v_type = Regexp.last_match[:v_type]
|
|
173
|
-
{}.tap do |hash|
|
|
174
|
-
value.each do |k, v|
|
|
175
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
176
|
-
end
|
|
177
|
-
end
|
|
178
|
-
else # model
|
|
179
|
-
# models (e.g. Pet) or oneOf
|
|
180
|
-
klass = TrinsicApi.const_get(type)
|
|
181
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
182
|
-
end
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
# Returns the string representation of the object
|
|
186
|
-
# @return [String] String presentation of the object
|
|
187
|
-
def to_s
|
|
188
|
-
to_hash.to_s
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
192
|
-
# @return [Hash] Returns the object in the form of hash
|
|
193
|
-
def to_body
|
|
194
|
-
to_hash
|
|
195
|
-
end
|
|
196
|
-
|
|
197
142
|
# Returns the object in the form of hash
|
|
198
143
|
# @return [Hash] Returns the object in the form of hash
|
|
199
144
|
def to_hash
|
|
@@ -210,24 +155,6 @@ module TrinsicApi
|
|
|
210
155
|
hash
|
|
211
156
|
end
|
|
212
157
|
|
|
213
|
-
# Outputs non-array value in the form of hash
|
|
214
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
215
|
-
# @param [Object] value Any valid value
|
|
216
|
-
# @return [Hash] Returns the value in the form of hash
|
|
217
|
-
def _to_hash(value)
|
|
218
|
-
if value.is_a?(Array)
|
|
219
|
-
value.compact.map { |v| _to_hash(v) }
|
|
220
|
-
elsif value.is_a?(Hash)
|
|
221
|
-
{}.tap do |hash|
|
|
222
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
223
|
-
end
|
|
224
|
-
elsif value.respond_to? :to_hash
|
|
225
|
-
value.to_hash
|
|
226
|
-
else
|
|
227
|
-
value
|
|
228
|
-
end
|
|
229
|
-
end
|
|
230
|
-
|
|
231
158
|
end
|
|
232
159
|
|
|
233
160
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v1
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,14 +15,54 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
# Exposed properties for the `philippines-digital-national-id-qr` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
-
class PhilippinesDigitalNidProviderOutput
|
|
18
|
+
class PhilippinesDigitalNidProviderOutput < ApiModelBase
|
|
19
19
|
# The PhilSys Card Number (PCN). Every citizen or resident alien registered in PhilSys has a PhilSys Number (PSN). This number is tokenized into a card number to protect the PSN. The PhilSys Card Number is 12 characters long, and often is written in octets with dashes in between.
|
|
20
20
|
attr_accessor :philsys_card_number
|
|
21
21
|
|
|
22
|
+
# The given (first) name of the individual.
|
|
23
|
+
attr_accessor :given_name
|
|
24
|
+
|
|
25
|
+
# The middle name of the individual.
|
|
26
|
+
attr_accessor :middle_name
|
|
27
|
+
|
|
28
|
+
# The family (last) name of the individual.
|
|
29
|
+
attr_accessor :family_name
|
|
30
|
+
|
|
31
|
+
# The date of birth of the individual.
|
|
32
|
+
attr_accessor :date_of_birth
|
|
33
|
+
|
|
34
|
+
# The name suffix of the individual (e.g. Jr., III).
|
|
35
|
+
attr_accessor :suffix
|
|
36
|
+
|
|
37
|
+
# The sex of the individual. Possible values: - Male - Female
|
|
38
|
+
attr_accessor :sex
|
|
39
|
+
|
|
40
|
+
# The place of birth of the individual as recorded on the PhilSys credential.
|
|
41
|
+
attr_accessor :place_of_birth
|
|
42
|
+
|
|
43
|
+
# The date the document was issued.
|
|
44
|
+
attr_accessor :document_issue_date
|
|
45
|
+
|
|
46
|
+
# The document number of the digital National ID.
|
|
47
|
+
attr_accessor :document_number
|
|
48
|
+
|
|
49
|
+
# The issuing authority of the document.
|
|
50
|
+
attr_accessor :issuing_authority
|
|
51
|
+
|
|
22
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
53
|
def self.attribute_map
|
|
24
54
|
{
|
|
25
|
-
:'philsys_card_number' => :'philsysCardNumber'
|
|
55
|
+
:'philsys_card_number' => :'philsysCardNumber',
|
|
56
|
+
:'given_name' => :'givenName',
|
|
57
|
+
:'middle_name' => :'middleName',
|
|
58
|
+
:'family_name' => :'familyName',
|
|
59
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
60
|
+
:'suffix' => :'suffix',
|
|
61
|
+
:'sex' => :'sex',
|
|
62
|
+
:'place_of_birth' => :'placeOfBirth',
|
|
63
|
+
:'document_issue_date' => :'documentIssueDate',
|
|
64
|
+
:'document_number' => :'documentNumber',
|
|
65
|
+
:'issuing_authority' => :'issuingAuthority'
|
|
26
66
|
}
|
|
27
67
|
end
|
|
28
68
|
|
|
@@ -39,13 +79,33 @@ module TrinsicApi
|
|
|
39
79
|
# Attribute type mapping.
|
|
40
80
|
def self.openapi_types
|
|
41
81
|
{
|
|
42
|
-
:'philsys_card_number' => :'String'
|
|
82
|
+
:'philsys_card_number' => :'String',
|
|
83
|
+
:'given_name' => :'String',
|
|
84
|
+
:'middle_name' => :'String',
|
|
85
|
+
:'family_name' => :'String',
|
|
86
|
+
:'date_of_birth' => :'Date',
|
|
87
|
+
:'suffix' => :'String',
|
|
88
|
+
:'sex' => :'String',
|
|
89
|
+
:'place_of_birth' => :'String',
|
|
90
|
+
:'document_issue_date' => :'Date',
|
|
91
|
+
:'document_number' => :'String',
|
|
92
|
+
:'issuing_authority' => :'String'
|
|
43
93
|
}
|
|
44
94
|
end
|
|
45
95
|
|
|
46
96
|
# List of attributes with nullable: true
|
|
47
97
|
def self.openapi_nullable
|
|
48
98
|
Set.new([
|
|
99
|
+
:'given_name',
|
|
100
|
+
:'middle_name',
|
|
101
|
+
:'family_name',
|
|
102
|
+
:'date_of_birth',
|
|
103
|
+
:'suffix',
|
|
104
|
+
:'sex',
|
|
105
|
+
:'place_of_birth',
|
|
106
|
+
:'document_issue_date',
|
|
107
|
+
:'document_number',
|
|
108
|
+
:'issuing_authority'
|
|
49
109
|
])
|
|
50
110
|
end
|
|
51
111
|
|
|
@@ -70,6 +130,46 @@ module TrinsicApi
|
|
|
70
130
|
else
|
|
71
131
|
self.philsys_card_number = nil
|
|
72
132
|
end
|
|
133
|
+
|
|
134
|
+
if attributes.key?(:'given_name')
|
|
135
|
+
self.given_name = attributes[:'given_name']
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'middle_name')
|
|
139
|
+
self.middle_name = attributes[:'middle_name']
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
if attributes.key?(:'family_name')
|
|
143
|
+
self.family_name = attributes[:'family_name']
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
if attributes.key?(:'date_of_birth')
|
|
147
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
if attributes.key?(:'suffix')
|
|
151
|
+
self.suffix = attributes[:'suffix']
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
if attributes.key?(:'sex')
|
|
155
|
+
self.sex = attributes[:'sex']
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
if attributes.key?(:'place_of_birth')
|
|
159
|
+
self.place_of_birth = attributes[:'place_of_birth']
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
if attributes.key?(:'document_issue_date')
|
|
163
|
+
self.document_issue_date = attributes[:'document_issue_date']
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
if attributes.key?(:'document_number')
|
|
167
|
+
self.document_number = attributes[:'document_number']
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
if attributes.key?(:'issuing_authority')
|
|
171
|
+
self.issuing_authority = attributes[:'issuing_authority']
|
|
172
|
+
end
|
|
73
173
|
end
|
|
74
174
|
|
|
75
175
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -107,7 +207,17 @@ module TrinsicApi
|
|
|
107
207
|
def ==(o)
|
|
108
208
|
return true if self.equal?(o)
|
|
109
209
|
self.class == o.class &&
|
|
110
|
-
philsys_card_number == o.philsys_card_number
|
|
210
|
+
philsys_card_number == o.philsys_card_number &&
|
|
211
|
+
given_name == o.given_name &&
|
|
212
|
+
middle_name == o.middle_name &&
|
|
213
|
+
family_name == o.family_name &&
|
|
214
|
+
date_of_birth == o.date_of_birth &&
|
|
215
|
+
suffix == o.suffix &&
|
|
216
|
+
sex == o.sex &&
|
|
217
|
+
place_of_birth == o.place_of_birth &&
|
|
218
|
+
document_issue_date == o.document_issue_date &&
|
|
219
|
+
document_number == o.document_number &&
|
|
220
|
+
issuing_authority == o.issuing_authority
|
|
111
221
|
end
|
|
112
222
|
|
|
113
223
|
# @see the `==` method
|
|
@@ -119,7 +229,7 @@ module TrinsicApi
|
|
|
119
229
|
# Calculates hash code according to all attributes.
|
|
120
230
|
# @return [Integer] Hash code
|
|
121
231
|
def hash
|
|
122
|
-
[philsys_card_number].hash
|
|
232
|
+
[philsys_card_number, given_name, middle_name, family_name, date_of_birth, suffix, sex, place_of_birth, document_issue_date, document_number, issuing_authority].hash
|
|
123
233
|
end
|
|
124
234
|
|
|
125
235
|
# Builds the object from hash
|
|
@@ -145,61 +255,6 @@ module TrinsicApi
|
|
|
145
255
|
new(transformed_hash)
|
|
146
256
|
end
|
|
147
257
|
|
|
148
|
-
# Deserializes the data based on type
|
|
149
|
-
# @param string type Data type
|
|
150
|
-
# @param string value Value to be deserialized
|
|
151
|
-
# @return [Object] Deserialized data
|
|
152
|
-
def self._deserialize(type, value)
|
|
153
|
-
case type.to_sym
|
|
154
|
-
when :Time
|
|
155
|
-
Time.parse(value)
|
|
156
|
-
when :Date
|
|
157
|
-
Date.parse(value)
|
|
158
|
-
when :String
|
|
159
|
-
value.to_s
|
|
160
|
-
when :Integer
|
|
161
|
-
value.to_i
|
|
162
|
-
when :Float
|
|
163
|
-
value.to_f
|
|
164
|
-
when :Boolean
|
|
165
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
166
|
-
true
|
|
167
|
-
else
|
|
168
|
-
false
|
|
169
|
-
end
|
|
170
|
-
when :Object
|
|
171
|
-
# generic object (usually a Hash), return directly
|
|
172
|
-
value
|
|
173
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
174
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
175
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
176
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
177
|
-
k_type = Regexp.last_match[:k_type]
|
|
178
|
-
v_type = Regexp.last_match[:v_type]
|
|
179
|
-
{}.tap do |hash|
|
|
180
|
-
value.each do |k, v|
|
|
181
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
182
|
-
end
|
|
183
|
-
end
|
|
184
|
-
else # model
|
|
185
|
-
# models (e.g. Pet) or oneOf
|
|
186
|
-
klass = TrinsicApi.const_get(type)
|
|
187
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
188
|
-
end
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
# Returns the string representation of the object
|
|
192
|
-
# @return [String] String presentation of the object
|
|
193
|
-
def to_s
|
|
194
|
-
to_hash.to_s
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
198
|
-
# @return [Hash] Returns the object in the form of hash
|
|
199
|
-
def to_body
|
|
200
|
-
to_hash
|
|
201
|
-
end
|
|
202
|
-
|
|
203
258
|
# Returns the object in the form of hash
|
|
204
259
|
# @return [Hash] Returns the object in the form of hash
|
|
205
260
|
def to_hash
|
|
@@ -216,24 +271,6 @@ module TrinsicApi
|
|
|
216
271
|
hash
|
|
217
272
|
end
|
|
218
273
|
|
|
219
|
-
# Outputs non-array value in the form of hash
|
|
220
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
221
|
-
# @param [Object] value Any valid value
|
|
222
|
-
# @return [Hash] Returns the value in the form of hash
|
|
223
|
-
def _to_hash(value)
|
|
224
|
-
if value.is_a?(Array)
|
|
225
|
-
value.compact.map { |v| _to_hash(v) }
|
|
226
|
-
elsif value.is_a?(Hash)
|
|
227
|
-
{}.tap do |hash|
|
|
228
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
229
|
-
end
|
|
230
|
-
elsif value.respond_to? :to_hash
|
|
231
|
-
value.to_hash
|
|
232
|
-
else
|
|
233
|
-
value
|
|
234
|
-
end
|
|
235
|
-
end
|
|
236
|
-
|
|
237
274
|
end
|
|
238
275
|
|
|
239
276
|
end
|