trinsic_api 3.0.2.pre.preview → 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 +2 -24
- data/docs/AadhaarLanguage.md +1 -1
- data/docs/AadhaarLocalizedClaims.md +2 -20
- 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/ConnectIdProviderOutput.md +0 -2
- data/docs/CoteDIvoireNidLookup2ProviderOutput.md +34 -0
- data/docs/CreateDirectProviderSessionRequest.md +2 -0
- data/docs/CreateHostedProviderSessionRequest.md +2 -0
- data/docs/CzechMojeIdProviderOutput.md +5 -1
- data/docs/CzechiaMojeIdProviderOutput.md +1 -1
- data/docs/DigilockerAadhaarProviderOutput.md +8 -8
- data/docs/ElSalvadorDuiLookupInput.md +20 -0
- data/docs/ElSalvadorDuiProviderOutput.md +22 -0
- data/docs/FaydaProviderAddress.md +22 -0
- data/docs/FaydaProviderOutput.md +14 -2
- data/docs/FinnishTrustNetworkProviderOutput.md +2 -2
- data/docs/FrejaProviderOutput.md +1 -1
- data/docs/FrenchNumeriqueGivenName.md +1 -1
- data/docs/FrenchNumeriqueProviderOutput.md +7 -7
- data/docs/GoogleWalletInput.md +1 -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/NorwegianBankIdProviderOutput.md +2 -2
- data/docs/PanamaCedulaLookupInput.md +20 -0
- data/docs/PanamaCedulaProviderOutput.md +32 -0
- data/docs/PeruDniProviderOutput.md +1 -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 +20 -0
- data/docs/ProviderOutput.md +34 -4
- data/docs/ProviderSupportedLanguage.md +20 -0
- data/docs/RecommendProviderInformation.md +3 -3
- 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/UnitedKingdomEvisaProviderOutput.md +1 -1
- data/docs/UsaCaliforniaDmvInput.md +18 -0
- data/docs/VerificationProfileResponse.md +2 -0
- data/docs/VerificationProfilesApi.md +72 -0
- data/docs/YotiDeeplinkProviderOutput.md +2 -2
- data/docs/YotiProviderOutput.md +2 -2
- data/lib/trinsic_api/api/providers_api.rb +1 -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 +74 -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 +11 -205
- data/lib/trinsic_api/models/aadhaar_input.rb +2 -75
- data/lib/trinsic_api/models/aadhaar_language.rb +3 -76
- data/lib/trinsic_api/models/aadhaar_localized_claims.rb +11 -183
- 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 +2 -75
- 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 +2 -75
- data/lib/trinsic_api/models/connect_id_age_verification.rb +2 -75
- data/lib/trinsic_api/models/connect_id_provider_output.rb +3 -87
- 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 +2 -75
- data/lib/trinsic_api/models/czech_moje_id_provider_output.rb +26 -77
- data/lib/trinsic_api/models/czechia_moje_id_provider_output.rb +3 -76
- data/lib/trinsic_api/models/digilocker_aadhaar_provider_output.rb +24 -97
- 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 +74 -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 +4 -77
- data/lib/trinsic_api/models/france_identite_input.rb +2 -75
- data/lib/trinsic_api/models/france_identite_provider_output.rb +2 -75
- data/lib/trinsic_api/models/freja_indirect_provider_output.rb +2 -75
- data/lib/trinsic_api/models/freja_provider_output.rb +3 -76
- 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 +2 -75
- 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 +3 -76
- 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 +2 -75
- 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 +2 -75
- 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 +4 -77
- data/lib/trinsic_api/models/one_id_provider_address.rb +2 -75
- data/lib/trinsic_api/models/one_id_provider_output.rb +2 -75
- data/lib/trinsic_api/models/order_direction.rb +1 -1
- data/lib/trinsic_api/models/output_freja_address.rb +2 -75
- data/lib/trinsic_api/models/output_freja_document.rb +2 -75
- 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 +2 -75
- data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +2 -75
- 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 +113 -76
- data/lib/trinsic_api/models/provider_output.rb +190 -98
- data/lib/trinsic_api/models/provider_supported_language.rb +176 -0
- data/lib/trinsic_api/models/raw18013_document_request.rb +4 -77
- data/lib/trinsic_api/models/raw18013_request_input.rb +2 -75
- 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 +2 -75
- 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 +2 -75
- 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/{connect_id_beneficiary_account.rb → singpass_login_provider_output.rb} +71 -110
- 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 +4 -77
- data/lib/trinsic_api/models/united_kingdom_evisa_provider_output.rb +3 -76
- data/lib/trinsic_api/models/usa_california_dmv_input.rb +149 -0
- data/lib/trinsic_api/models/verification_profile_response.rb +14 -76
- data/lib/trinsic_api/models/yoti_deeplink_provider_output.rb +4 -77
- 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 +40 -5
- data/spec/api/providers_api_spec.rb +1 -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 +14 -1
- data/spec/models/aadhaar_address_spec.rb +102 -0
- data/spec/models/aadhaar_claims_spec.rb +3 -69
- data/spec/models/aadhaar_input_spec.rb +2 -2
- data/spec/models/aadhaar_language_spec.rb +2 -2
- data/spec/models/aadhaar_localized_claims_spec.rb +3 -57
- 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 +2 -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/{create_widget_session_request_spec.rb → audkenni_provider_output_spec.rb} +11 -11
- 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/{connect_id_beneficiary_account_spec.rb → china_resident_id_match_input_spec.rb} +11 -11
- 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 +2 -2
- data/spec/models/connect_id_age_verification_spec.rb +2 -2
- data/spec/models/connect_id_provider_output_spec.rb +2 -8
- 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 +2 -2
- data/spec/models/czech_moje_id_provider_output_spec.rb +14 -2
- data/spec/models/czechia_moje_id_provider_output_spec.rb +2 -2
- data/spec/models/digilocker_aadhaar_provider_output_spec.rb +8 -8
- 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 +38 -2
- data/spec/models/finland_id_card_provider_output_spec.rb +2 -2
- data/spec/models/finnish_trust_network_provider_output_spec.rb +2 -2
- data/spec/models/france_identite_input_spec.rb +2 -2
- data/spec/models/france_identite_provider_output_spec.rb +2 -2
- data/spec/models/freja_indirect_provider_output_spec.rb +2 -2
- data/spec/models/freja_provider_output_spec.rb +2 -2
- 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 +2 -2
- 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 +2 -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 +2 -2
- 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 +2 -2
- data/spec/models/one_id_provider_address_spec.rb +2 -2
- data/spec/models/one_id_provider_output_spec.rb +2 -2
- data/spec/models/order_direction_spec.rb +2 -2
- data/spec/models/output_freja_address_spec.rb +2 -2
- data/spec/models/output_freja_document_spec.rb +2 -2
- 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 +2 -2
- data/spec/models/philippines_physical_nid_provider_output_spec.rb +2 -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 +62 -2
- data/spec/models/provider_output_spec.rb +96 -6
- 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 +2 -2
- data/spec/models/raw18013_request_input_spec.rb +2 -2
- 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 +2 -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 +2 -2
- 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 +2 -2
- data/spec/models/united_kingdom_evisa_provider_output_spec.rb +2 -2
- data/spec/models/usa_california_dmv_input_spec.rb +36 -0
- data/spec/models/verification_profile_response_spec.rb +8 -2
- data/spec/models/yoti_deeplink_provider_output_spec.rb +2 -2
- 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 +299 -162
- data/docs/ConnectIdBeneficiaryAccount.md +0 -24
- 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
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
# Exposed properties for the `a-freja-eid-login` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
-
class FrejaIndirectProviderOutput
|
|
18
|
+
class FrejaIndirectProviderOutput < ApiModelBase
|
|
19
19
|
# The first name of the verified individual
|
|
20
20
|
attr_accessor :first_name
|
|
21
21
|
|
|
@@ -226,61 +226,6 @@ module TrinsicApi
|
|
|
226
226
|
new(transformed_hash)
|
|
227
227
|
end
|
|
228
228
|
|
|
229
|
-
# Deserializes the data based on type
|
|
230
|
-
# @param string type Data type
|
|
231
|
-
# @param string value Value to be deserialized
|
|
232
|
-
# @return [Object] Deserialized data
|
|
233
|
-
def self._deserialize(type, value)
|
|
234
|
-
case type.to_sym
|
|
235
|
-
when :Time
|
|
236
|
-
Time.parse(value)
|
|
237
|
-
when :Date
|
|
238
|
-
Date.parse(value)
|
|
239
|
-
when :String
|
|
240
|
-
value.to_s
|
|
241
|
-
when :Integer
|
|
242
|
-
value.to_i
|
|
243
|
-
when :Float
|
|
244
|
-
value.to_f
|
|
245
|
-
when :Boolean
|
|
246
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
247
|
-
true
|
|
248
|
-
else
|
|
249
|
-
false
|
|
250
|
-
end
|
|
251
|
-
when :Object
|
|
252
|
-
# generic object (usually a Hash), return directly
|
|
253
|
-
value
|
|
254
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
255
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
256
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
257
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
258
|
-
k_type = Regexp.last_match[:k_type]
|
|
259
|
-
v_type = Regexp.last_match[:v_type]
|
|
260
|
-
{}.tap do |hash|
|
|
261
|
-
value.each do |k, v|
|
|
262
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
263
|
-
end
|
|
264
|
-
end
|
|
265
|
-
else # model
|
|
266
|
-
# models (e.g. Pet) or oneOf
|
|
267
|
-
klass = TrinsicApi.const_get(type)
|
|
268
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
269
|
-
end
|
|
270
|
-
end
|
|
271
|
-
|
|
272
|
-
# Returns the string representation of the object
|
|
273
|
-
# @return [String] String presentation of the object
|
|
274
|
-
def to_s
|
|
275
|
-
to_hash.to_s
|
|
276
|
-
end
|
|
277
|
-
|
|
278
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
279
|
-
# @return [Hash] Returns the object in the form of hash
|
|
280
|
-
def to_body
|
|
281
|
-
to_hash
|
|
282
|
-
end
|
|
283
|
-
|
|
284
229
|
# Returns the object in the form of hash
|
|
285
230
|
# @return [Hash] Returns the object in the form of hash
|
|
286
231
|
def to_hash
|
|
@@ -297,24 +242,6 @@ module TrinsicApi
|
|
|
297
242
|
hash
|
|
298
243
|
end
|
|
299
244
|
|
|
300
|
-
# Outputs non-array value in the form of hash
|
|
301
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
302
|
-
# @param [Object] value Any valid value
|
|
303
|
-
# @return [Hash] Returns the value in the form of hash
|
|
304
|
-
def _to_hash(value)
|
|
305
|
-
if value.is_a?(Array)
|
|
306
|
-
value.compact.map { |v| _to_hash(v) }
|
|
307
|
-
elsif value.is_a?(Hash)
|
|
308
|
-
{}.tap do |hash|
|
|
309
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
310
|
-
end
|
|
311
|
-
elsif value.respond_to? :to_hash
|
|
312
|
-
value.to_hash
|
|
313
|
-
else
|
|
314
|
-
value
|
|
315
|
-
end
|
|
316
|
-
end
|
|
317
|
-
|
|
318
245
|
end
|
|
319
246
|
|
|
320
247
|
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 `freja` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
-
class FrejaProviderOutput
|
|
18
|
+
class FrejaProviderOutput < ApiModelBase
|
|
19
19
|
# The individual's full name.
|
|
20
20
|
attr_accessor :name
|
|
21
21
|
|
|
@@ -64,7 +64,7 @@ module TrinsicApi
|
|
|
64
64
|
# The Freja registration level associated with this individual. This can be BASIC, EXTENDED, or PLUS. * BASIC: Individual has a registered account with Freja. * EXTENDED: Individual has an official identity document verified by Freja. * PLUS: Individual has undergone in-person verification with Freja.
|
|
65
65
|
attr_accessor :registration_level
|
|
66
66
|
|
|
67
|
-
# The relying party
|
|
67
|
+
# The relying party identifier for this individual. This is an identifier specific to the individual and the relying party (your service).
|
|
68
68
|
attr_accessor :relying_party_user_id
|
|
69
69
|
|
|
70
70
|
# The Freja transaction reference for this verification. This is an identifier specific to the verification transaction.
|
|
@@ -320,61 +320,6 @@ module TrinsicApi
|
|
|
320
320
|
new(transformed_hash)
|
|
321
321
|
end
|
|
322
322
|
|
|
323
|
-
# Deserializes the data based on type
|
|
324
|
-
# @param string type Data type
|
|
325
|
-
# @param string value Value to be deserialized
|
|
326
|
-
# @return [Object] Deserialized data
|
|
327
|
-
def self._deserialize(type, value)
|
|
328
|
-
case type.to_sym
|
|
329
|
-
when :Time
|
|
330
|
-
Time.parse(value)
|
|
331
|
-
when :Date
|
|
332
|
-
Date.parse(value)
|
|
333
|
-
when :String
|
|
334
|
-
value.to_s
|
|
335
|
-
when :Integer
|
|
336
|
-
value.to_i
|
|
337
|
-
when :Float
|
|
338
|
-
value.to_f
|
|
339
|
-
when :Boolean
|
|
340
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
341
|
-
true
|
|
342
|
-
else
|
|
343
|
-
false
|
|
344
|
-
end
|
|
345
|
-
when :Object
|
|
346
|
-
# generic object (usually a Hash), return directly
|
|
347
|
-
value
|
|
348
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
349
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
350
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
351
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
352
|
-
k_type = Regexp.last_match[:k_type]
|
|
353
|
-
v_type = Regexp.last_match[:v_type]
|
|
354
|
-
{}.tap do |hash|
|
|
355
|
-
value.each do |k, v|
|
|
356
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
357
|
-
end
|
|
358
|
-
end
|
|
359
|
-
else # model
|
|
360
|
-
# models (e.g. Pet) or oneOf
|
|
361
|
-
klass = TrinsicApi.const_get(type)
|
|
362
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
363
|
-
end
|
|
364
|
-
end
|
|
365
|
-
|
|
366
|
-
# Returns the string representation of the object
|
|
367
|
-
# @return [String] String presentation of the object
|
|
368
|
-
def to_s
|
|
369
|
-
to_hash.to_s
|
|
370
|
-
end
|
|
371
|
-
|
|
372
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
373
|
-
# @return [Hash] Returns the object in the form of hash
|
|
374
|
-
def to_body
|
|
375
|
-
to_hash
|
|
376
|
-
end
|
|
377
|
-
|
|
378
323
|
# Returns the object in the form of hash
|
|
379
324
|
# @return [Hash] Returns the object in the form of hash
|
|
380
325
|
def to_hash
|
|
@@ -391,24 +336,6 @@ module TrinsicApi
|
|
|
391
336
|
hash
|
|
392
337
|
end
|
|
393
338
|
|
|
394
|
-
# Outputs non-array value in the form of hash
|
|
395
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
396
|
-
# @param [Object] value Any valid value
|
|
397
|
-
# @return [Hash] Returns the value in the form of hash
|
|
398
|
-
def _to_hash(value)
|
|
399
|
-
if value.is_a?(Array)
|
|
400
|
-
value.compact.map { |v| _to_hash(v) }
|
|
401
|
-
elsif value.is_a?(Hash)
|
|
402
|
-
{}.tap do |hash|
|
|
403
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
404
|
-
end
|
|
405
|
-
elsif value.respond_to? :to_hash
|
|
406
|
-
value.to_hash
|
|
407
|
-
else
|
|
408
|
-
value
|
|
409
|
-
end
|
|
410
|
-
end
|
|
411
|
-
|
|
412
339
|
end
|
|
413
340
|
|
|
414
341
|
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,8 +15,8 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
# Given name information including the full given name and its structured components.
|
|
18
|
-
class FrenchNumeriqueGivenName
|
|
19
|
-
# Full given name(s) as recorded on the
|
|
18
|
+
class FrenchNumeriqueGivenName < ApiModelBase
|
|
19
|
+
# Full given name(s) as recorded on the individual's French identity document. If the individual has multiple given names, they are separated by a single space.
|
|
20
20
|
attr_accessor :full_given_name
|
|
21
21
|
|
|
22
22
|
# First/primary given name (premier prénom).
|
|
@@ -151,61 +151,6 @@ module TrinsicApi
|
|
|
151
151
|
new(transformed_hash)
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
-
# Deserializes the data based on type
|
|
155
|
-
# @param string type Data type
|
|
156
|
-
# @param string value Value to be deserialized
|
|
157
|
-
# @return [Object] Deserialized data
|
|
158
|
-
def self._deserialize(type, value)
|
|
159
|
-
case type.to_sym
|
|
160
|
-
when :Time
|
|
161
|
-
Time.parse(value)
|
|
162
|
-
when :Date
|
|
163
|
-
Date.parse(value)
|
|
164
|
-
when :String
|
|
165
|
-
value.to_s
|
|
166
|
-
when :Integer
|
|
167
|
-
value.to_i
|
|
168
|
-
when :Float
|
|
169
|
-
value.to_f
|
|
170
|
-
when :Boolean
|
|
171
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
172
|
-
true
|
|
173
|
-
else
|
|
174
|
-
false
|
|
175
|
-
end
|
|
176
|
-
when :Object
|
|
177
|
-
# generic object (usually a Hash), return directly
|
|
178
|
-
value
|
|
179
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
180
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
181
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
182
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
183
|
-
k_type = Regexp.last_match[:k_type]
|
|
184
|
-
v_type = Regexp.last_match[:v_type]
|
|
185
|
-
{}.tap do |hash|
|
|
186
|
-
value.each do |k, v|
|
|
187
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
188
|
-
end
|
|
189
|
-
end
|
|
190
|
-
else # model
|
|
191
|
-
# models (e.g. Pet) or oneOf
|
|
192
|
-
klass = TrinsicApi.const_get(type)
|
|
193
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
194
|
-
end
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
# Returns the string representation of the object
|
|
198
|
-
# @return [String] String presentation of the object
|
|
199
|
-
def to_s
|
|
200
|
-
to_hash.to_s
|
|
201
|
-
end
|
|
202
|
-
|
|
203
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
204
|
-
# @return [Hash] Returns the object in the form of hash
|
|
205
|
-
def to_body
|
|
206
|
-
to_hash
|
|
207
|
-
end
|
|
208
|
-
|
|
209
154
|
# Returns the object in the form of hash
|
|
210
155
|
# @return [Hash] Returns the object in the form of hash
|
|
211
156
|
def to_hash
|
|
@@ -222,24 +167,6 @@ module TrinsicApi
|
|
|
222
167
|
hash
|
|
223
168
|
end
|
|
224
169
|
|
|
225
|
-
# Outputs non-array value in the form of hash
|
|
226
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
227
|
-
# @param [Object] value Any valid value
|
|
228
|
-
# @return [Hash] Returns the value in the form of hash
|
|
229
|
-
def _to_hash(value)
|
|
230
|
-
if value.is_a?(Array)
|
|
231
|
-
value.compact.map { |v| _to_hash(v) }
|
|
232
|
-
elsif value.is_a?(Hash)
|
|
233
|
-
{}.tap do |hash|
|
|
234
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
235
|
-
end
|
|
236
|
-
elsif value.respond_to? :to_hash
|
|
237
|
-
value.to_hash
|
|
238
|
-
else
|
|
239
|
-
value
|
|
240
|
-
end
|
|
241
|
-
end
|
|
242
|
-
|
|
243
170
|
end
|
|
244
171
|
|
|
245
172
|
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
|
# Nationality information with ISO 3166 alpha-3 code and French label.
|
|
18
|
-
class FrenchNumeriqueNationality
|
|
18
|
+
class FrenchNumeriqueNationality < ApiModelBase
|
|
19
19
|
# ISO 3166 alpha-3 country code.
|
|
20
20
|
attr_accessor :code
|
|
21
21
|
|
|
@@ -140,61 +140,6 @@ module TrinsicApi
|
|
|
140
140
|
new(transformed_hash)
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
-
# Deserializes the data based on type
|
|
144
|
-
# @param string type Data type
|
|
145
|
-
# @param string value Value to be deserialized
|
|
146
|
-
# @return [Object] Deserialized data
|
|
147
|
-
def self._deserialize(type, value)
|
|
148
|
-
case type.to_sym
|
|
149
|
-
when :Time
|
|
150
|
-
Time.parse(value)
|
|
151
|
-
when :Date
|
|
152
|
-
Date.parse(value)
|
|
153
|
-
when :String
|
|
154
|
-
value.to_s
|
|
155
|
-
when :Integer
|
|
156
|
-
value.to_i
|
|
157
|
-
when :Float
|
|
158
|
-
value.to_f
|
|
159
|
-
when :Boolean
|
|
160
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
161
|
-
true
|
|
162
|
-
else
|
|
163
|
-
false
|
|
164
|
-
end
|
|
165
|
-
when :Object
|
|
166
|
-
# generic object (usually a Hash), return directly
|
|
167
|
-
value
|
|
168
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
169
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
170
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
171
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
172
|
-
k_type = Regexp.last_match[:k_type]
|
|
173
|
-
v_type = Regexp.last_match[:v_type]
|
|
174
|
-
{}.tap do |hash|
|
|
175
|
-
value.each do |k, v|
|
|
176
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
177
|
-
end
|
|
178
|
-
end
|
|
179
|
-
else # model
|
|
180
|
-
# models (e.g. Pet) or oneOf
|
|
181
|
-
klass = TrinsicApi.const_get(type)
|
|
182
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
183
|
-
end
|
|
184
|
-
end
|
|
185
|
-
|
|
186
|
-
# Returns the string representation of the object
|
|
187
|
-
# @return [String] String presentation of the object
|
|
188
|
-
def to_s
|
|
189
|
-
to_hash.to_s
|
|
190
|
-
end
|
|
191
|
-
|
|
192
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
193
|
-
# @return [Hash] Returns the object in the form of hash
|
|
194
|
-
def to_body
|
|
195
|
-
to_hash
|
|
196
|
-
end
|
|
197
|
-
|
|
198
143
|
# Returns the object in the form of hash
|
|
199
144
|
# @return [Hash] Returns the object in the form of hash
|
|
200
145
|
def to_hash
|
|
@@ -211,24 +156,6 @@ module TrinsicApi
|
|
|
211
156
|
hash
|
|
212
157
|
end
|
|
213
158
|
|
|
214
|
-
# Outputs non-array value in the form of hash
|
|
215
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
216
|
-
# @param [Object] value Any valid value
|
|
217
|
-
# @return [Hash] Returns the value in the form of hash
|
|
218
|
-
def _to_hash(value)
|
|
219
|
-
if value.is_a?(Array)
|
|
220
|
-
value.compact.map { |v| _to_hash(v) }
|
|
221
|
-
elsif value.is_a?(Hash)
|
|
222
|
-
{}.tap do |hash|
|
|
223
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
224
|
-
end
|
|
225
|
-
elsif value.respond_to? :to_hash
|
|
226
|
-
value.to_hash
|
|
227
|
-
else
|
|
228
|
-
value
|
|
229
|
-
end
|
|
230
|
-
end
|
|
231
|
-
|
|
232
159
|
end
|
|
233
160
|
|
|
234
161
|
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
|
# Phone number information including the full phone number and its structured components.
|
|
18
|
-
class FrenchNumeriquePhone
|
|
18
|
+
class FrenchNumeriquePhone < ApiModelBase
|
|
19
19
|
# Full phone number including country prefix.
|
|
20
20
|
attr_accessor :full_phone_number
|
|
21
21
|
|
|
@@ -151,61 +151,6 @@ module TrinsicApi
|
|
|
151
151
|
new(transformed_hash)
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
-
# Deserializes the data based on type
|
|
155
|
-
# @param string type Data type
|
|
156
|
-
# @param string value Value to be deserialized
|
|
157
|
-
# @return [Object] Deserialized data
|
|
158
|
-
def self._deserialize(type, value)
|
|
159
|
-
case type.to_sym
|
|
160
|
-
when :Time
|
|
161
|
-
Time.parse(value)
|
|
162
|
-
when :Date
|
|
163
|
-
Date.parse(value)
|
|
164
|
-
when :String
|
|
165
|
-
value.to_s
|
|
166
|
-
when :Integer
|
|
167
|
-
value.to_i
|
|
168
|
-
when :Float
|
|
169
|
-
value.to_f
|
|
170
|
-
when :Boolean
|
|
171
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
172
|
-
true
|
|
173
|
-
else
|
|
174
|
-
false
|
|
175
|
-
end
|
|
176
|
-
when :Object
|
|
177
|
-
# generic object (usually a Hash), return directly
|
|
178
|
-
value
|
|
179
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
180
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
181
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
182
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
183
|
-
k_type = Regexp.last_match[:k_type]
|
|
184
|
-
v_type = Regexp.last_match[:v_type]
|
|
185
|
-
{}.tap do |hash|
|
|
186
|
-
value.each do |k, v|
|
|
187
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
188
|
-
end
|
|
189
|
-
end
|
|
190
|
-
else # model
|
|
191
|
-
# models (e.g. Pet) or oneOf
|
|
192
|
-
klass = TrinsicApi.const_get(type)
|
|
193
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
194
|
-
end
|
|
195
|
-
end
|
|
196
|
-
|
|
197
|
-
# Returns the string representation of the object
|
|
198
|
-
# @return [String] String presentation of the object
|
|
199
|
-
def to_s
|
|
200
|
-
to_hash.to_s
|
|
201
|
-
end
|
|
202
|
-
|
|
203
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
204
|
-
# @return [Hash] Returns the object in the form of hash
|
|
205
|
-
def to_body
|
|
206
|
-
to_hash
|
|
207
|
-
end
|
|
208
|
-
|
|
209
154
|
# Returns the object in the form of hash
|
|
210
155
|
# @return [Hash] Returns the object in the form of hash
|
|
211
156
|
def to_hash
|
|
@@ -222,24 +167,6 @@ module TrinsicApi
|
|
|
222
167
|
hash
|
|
223
168
|
end
|
|
224
169
|
|
|
225
|
-
# Outputs non-array value in the form of hash
|
|
226
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
227
|
-
# @param [Object] value Any valid value
|
|
228
|
-
# @return [Hash] Returns the value in the form of hash
|
|
229
|
-
def _to_hash(value)
|
|
230
|
-
if value.is_a?(Array)
|
|
231
|
-
value.compact.map { |v| _to_hash(v) }
|
|
232
|
-
elsif value.is_a?(Hash)
|
|
233
|
-
{}.tap do |hash|
|
|
234
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
235
|
-
end
|
|
236
|
-
elsif value.respond_to? :to_hash
|
|
237
|
-
value.to_hash
|
|
238
|
-
else
|
|
239
|
-
value
|
|
240
|
-
end
|
|
241
|
-
end
|
|
242
|
-
|
|
243
170
|
end
|
|
244
171
|
|
|
245
172
|
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,17 +15,17 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
# Exposed properties for the `france-identite-numerique` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
-
class FrenchNumeriqueProviderOutput
|
|
18
|
+
class FrenchNumeriqueProviderOutput < ApiModelBase
|
|
19
19
|
# Given name information including the full given name and its structured components (first name and middle name(s)).
|
|
20
20
|
attr_accessor :given_name
|
|
21
21
|
|
|
22
|
-
# Birth name (nom de naissance) as recorded on the
|
|
22
|
+
# Birth name (nom de naissance) as recorded on the individual's French identity document. In France, this is the family name given at birth and may differ from the usage name.
|
|
23
23
|
attr_accessor :family_name
|
|
24
24
|
|
|
25
25
|
# Usage surname (\"nom d'usage\") - according to French law, this is the surname used in daily life. This is typically a married name or other preferred surname, as opposed to FamilyName which is the birth surname (\"nom de naissance\").
|
|
26
26
|
attr_accessor :preferred_surname
|
|
27
27
|
|
|
28
|
-
# Date of birth in YYYY-MM-DD format, as recorded on the
|
|
28
|
+
# Date of birth in YYYY-MM-DD format, as recorded on the individual's French identity document.
|
|
29
29
|
attr_accessor :birthdate
|
|
30
30
|
|
|
31
31
|
# Nationality information with ISO 3166 alpha-3 code and French label. The label is provided in French (e.g., \"Française\" for French nationality).
|
|
@@ -34,7 +34,7 @@ module TrinsicApi
|
|
|
34
34
|
# Sex - \"Male\" or \"Female\".
|
|
35
35
|
attr_accessor :sex
|
|
36
36
|
|
|
37
|
-
# Majority status (majorité) indicating whether the
|
|
37
|
+
# Majority status (majorité) indicating whether the individual has reached the French age of legal majority (18 years old). This value is computed by the provider from the individual's birthdate.
|
|
38
38
|
attr_accessor :majority
|
|
39
39
|
|
|
40
40
|
# Phone number information including the full phone number and its structured components (country prefix and national number).
|
|
@@ -43,7 +43,7 @@ module TrinsicApi
|
|
|
43
43
|
# Whether the phone number has been verified by the provider.
|
|
44
44
|
attr_accessor :phone_number_verified
|
|
45
45
|
|
|
46
|
-
# Email address registered in the
|
|
46
|
+
# Email address registered in the individual's digital identity account.
|
|
47
47
|
attr_accessor :email
|
|
48
48
|
|
|
49
49
|
# Whether the email address has been verified by the provider.
|
|
@@ -55,7 +55,7 @@ module TrinsicApi
|
|
|
55
55
|
# Name of the birthplace commune (municipality). If applicable, this includes the full name of the arrondissement (borough).
|
|
56
56
|
attr_accessor :birthplace_label
|
|
57
57
|
|
|
58
|
-
# National Institute of Statistics and Economic Studies (INSEE) official geographic code (COG) for the
|
|
58
|
+
# National Institute of Statistics and Economic Studies (INSEE) official geographic code (COG) for the individual's country of birth. LaPoste returns this as a 5-character numeric string. This is a country/territory COG, so it always starts with \"99\" (99xxx). France is coded as 99100. See full list here: https://www.insee.fr/fr/information/2560452
|
|
59
59
|
attr_accessor :birth_country
|
|
60
60
|
|
|
61
61
|
# Birth country as an ISO 3166 alpha-3 code.
|
|
@@ -67,10 +67,10 @@ module TrinsicApi
|
|
|
67
67
|
# Number of the department of birth (e.g., \"75\" for Paris, \"2A\" for Corse-du-Sud). See full list here: https://en.wikipedia.org/wiki/Departments_of_France
|
|
68
68
|
attr_accessor :birth_department
|
|
69
69
|
|
|
70
|
-
# Date when the
|
|
70
|
+
# Date when the individual's digital identity was created.
|
|
71
71
|
attr_accessor :digital_identity_creation_date
|
|
72
72
|
|
|
73
|
-
# Date when the digital identity expires. It is valid for 5 years from the date of identity verification.
|
|
73
|
+
# Date when the digital identity expires. It is valid for 5 years from the date of identity verification. Individuals are notified ~1 month before and must re-verify identity via the app or in-person at La Poste. After expiration, the identity is deactivated but can be renewed within 1 year; otherwise deleted.
|
|
74
74
|
attr_accessor :digital_identity_expiration_date
|
|
75
75
|
|
|
76
76
|
# Type of identity document used for verification. Can be \"ID_CARD\", \"PASSPORT\", or \"RESIDENCE_PERMIT\".
|
|
@@ -393,61 +393,6 @@ module TrinsicApi
|
|
|
393
393
|
new(transformed_hash)
|
|
394
394
|
end
|
|
395
395
|
|
|
396
|
-
# Deserializes the data based on type
|
|
397
|
-
# @param string type Data type
|
|
398
|
-
# @param string value Value to be deserialized
|
|
399
|
-
# @return [Object] Deserialized data
|
|
400
|
-
def self._deserialize(type, value)
|
|
401
|
-
case type.to_sym
|
|
402
|
-
when :Time
|
|
403
|
-
Time.parse(value)
|
|
404
|
-
when :Date
|
|
405
|
-
Date.parse(value)
|
|
406
|
-
when :String
|
|
407
|
-
value.to_s
|
|
408
|
-
when :Integer
|
|
409
|
-
value.to_i
|
|
410
|
-
when :Float
|
|
411
|
-
value.to_f
|
|
412
|
-
when :Boolean
|
|
413
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
414
|
-
true
|
|
415
|
-
else
|
|
416
|
-
false
|
|
417
|
-
end
|
|
418
|
-
when :Object
|
|
419
|
-
# generic object (usually a Hash), return directly
|
|
420
|
-
value
|
|
421
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
422
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
423
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
424
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
425
|
-
k_type = Regexp.last_match[:k_type]
|
|
426
|
-
v_type = Regexp.last_match[:v_type]
|
|
427
|
-
{}.tap do |hash|
|
|
428
|
-
value.each do |k, v|
|
|
429
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
430
|
-
end
|
|
431
|
-
end
|
|
432
|
-
else # model
|
|
433
|
-
# models (e.g. Pet) or oneOf
|
|
434
|
-
klass = TrinsicApi.const_get(type)
|
|
435
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
436
|
-
end
|
|
437
|
-
end
|
|
438
|
-
|
|
439
|
-
# Returns the string representation of the object
|
|
440
|
-
# @return [String] String presentation of the object
|
|
441
|
-
def to_s
|
|
442
|
-
to_hash.to_s
|
|
443
|
-
end
|
|
444
|
-
|
|
445
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
446
|
-
# @return [Hash] Returns the object in the form of hash
|
|
447
|
-
def to_body
|
|
448
|
-
to_hash
|
|
449
|
-
end
|
|
450
|
-
|
|
451
396
|
# Returns the object in the form of hash
|
|
452
397
|
# @return [Hash] Returns the object in the form of hash
|
|
453
398
|
def to_hash
|
|
@@ -464,24 +409,6 @@ module TrinsicApi
|
|
|
464
409
|
hash
|
|
465
410
|
end
|
|
466
411
|
|
|
467
|
-
# Outputs non-array value in the form of hash
|
|
468
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
469
|
-
# @param [Object] value Any valid value
|
|
470
|
-
# @return [Hash] Returns the value in the form of hash
|
|
471
|
-
def _to_hash(value)
|
|
472
|
-
if value.is_a?(Array)
|
|
473
|
-
value.compact.map { |v| _to_hash(v) }
|
|
474
|
-
elsif value.is_a?(Hash)
|
|
475
|
-
{}.tap do |hash|
|
|
476
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
477
|
-
end
|
|
478
|
-
elsif value.respond_to? :to_hash
|
|
479
|
-
value.to_hash
|
|
480
|
-
else
|
|
481
|
-
value
|
|
482
|
-
end
|
|
483
|
-
end
|
|
484
|
-
|
|
485
412
|
end
|
|
486
413
|
|
|
487
414
|
end
|