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
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class CreateHostedProviderSessionRequest
|
|
17
|
+
class CreateHostedProviderSessionRequest < ApiModelBase
|
|
18
18
|
# The ID of the provider to launch
|
|
19
19
|
attr_accessor :provider
|
|
20
20
|
|
|
@@ -24,6 +24,9 @@ module TrinsicApi
|
|
|
24
24
|
# The Redirect URL to which the user should be sent after the session is complete.
|
|
25
25
|
attr_accessor :redirect_url
|
|
26
26
|
|
|
27
|
+
# Preferences for languages to show first in the Hosted UI. If left empty, the Hosted UI defaults to the user's navigator languages. If no preferred language is available, the Hosted UI falls back to English.
|
|
28
|
+
attr_accessor :browser_languages
|
|
29
|
+
|
|
27
30
|
# Provider-specific input for those providers which require it. <b>Deprecated:</b> In the future, Hosted Provider Sessions will not accept input on creation, and will instead always redirect the user to a hosted interface to collect input. If you need to collect input from the user yourself, please use the Create Direct Session endpoint instead.
|
|
28
31
|
attr_accessor :provider_input
|
|
29
32
|
|
|
@@ -33,6 +36,7 @@ module TrinsicApi
|
|
|
33
36
|
:'provider' => :'provider',
|
|
34
37
|
:'verification_profile_id' => :'verificationProfileId',
|
|
35
38
|
:'redirect_url' => :'redirectUrl',
|
|
39
|
+
:'browser_languages' => :'browserLanguages',
|
|
36
40
|
:'provider_input' => :'providerInput'
|
|
37
41
|
}
|
|
38
42
|
end
|
|
@@ -53,6 +57,7 @@ module TrinsicApi
|
|
|
53
57
|
:'provider' => :'String',
|
|
54
58
|
:'verification_profile_id' => :'String',
|
|
55
59
|
:'redirect_url' => :'String',
|
|
60
|
+
:'browser_languages' => :'Array<String>',
|
|
56
61
|
:'provider_input' => :'ProviderInput'
|
|
57
62
|
}
|
|
58
63
|
end
|
|
@@ -60,6 +65,7 @@ module TrinsicApi
|
|
|
60
65
|
# List of attributes with nullable: true
|
|
61
66
|
def self.openapi_nullable
|
|
62
67
|
Set.new([
|
|
68
|
+
:'browser_languages',
|
|
63
69
|
:'provider_input'
|
|
64
70
|
])
|
|
65
71
|
end
|
|
@@ -98,6 +104,12 @@ module TrinsicApi
|
|
|
98
104
|
self.redirect_url = nil
|
|
99
105
|
end
|
|
100
106
|
|
|
107
|
+
if attributes.key?(:'browser_languages')
|
|
108
|
+
if (value = attributes[:'browser_languages']).is_a?(Array)
|
|
109
|
+
self.browser_languages = value
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
101
113
|
if attributes.key?(:'provider_input')
|
|
102
114
|
self.provider_input = attributes[:'provider_input']
|
|
103
115
|
end
|
|
@@ -113,7 +125,7 @@ module TrinsicApi
|
|
|
113
125
|
end
|
|
114
126
|
|
|
115
127
|
if @provider.to_s.length < 1
|
|
116
|
-
invalid_properties.push('invalid value for "provider", the character length must be
|
|
128
|
+
invalid_properties.push('invalid value for "provider", the character length must be greater than or equal to 1.')
|
|
117
129
|
end
|
|
118
130
|
|
|
119
131
|
if @verification_profile_id.nil?
|
|
@@ -125,7 +137,7 @@ module TrinsicApi
|
|
|
125
137
|
end
|
|
126
138
|
|
|
127
139
|
if @redirect_url.to_s.length < 1
|
|
128
|
-
invalid_properties.push('invalid value for "redirect_url", the character length must be
|
|
140
|
+
invalid_properties.push('invalid value for "redirect_url", the character length must be greater than or equal to 1.')
|
|
129
141
|
end
|
|
130
142
|
|
|
131
143
|
invalid_properties
|
|
@@ -151,7 +163,7 @@ module TrinsicApi
|
|
|
151
163
|
end
|
|
152
164
|
|
|
153
165
|
if provider.to_s.length < 1
|
|
154
|
-
fail ArgumentError, 'invalid value for "provider", the character length must be
|
|
166
|
+
fail ArgumentError, 'invalid value for "provider", the character length must be greater than or equal to 1.'
|
|
155
167
|
end
|
|
156
168
|
|
|
157
169
|
@provider = provider
|
|
@@ -175,7 +187,7 @@ module TrinsicApi
|
|
|
175
187
|
end
|
|
176
188
|
|
|
177
189
|
if redirect_url.to_s.length < 1
|
|
178
|
-
fail ArgumentError, 'invalid value for "redirect_url", the character length must be
|
|
190
|
+
fail ArgumentError, 'invalid value for "redirect_url", the character length must be greater than or equal to 1.'
|
|
179
191
|
end
|
|
180
192
|
|
|
181
193
|
@redirect_url = redirect_url
|
|
@@ -189,6 +201,7 @@ module TrinsicApi
|
|
|
189
201
|
provider == o.provider &&
|
|
190
202
|
verification_profile_id == o.verification_profile_id &&
|
|
191
203
|
redirect_url == o.redirect_url &&
|
|
204
|
+
browser_languages == o.browser_languages &&
|
|
192
205
|
provider_input == o.provider_input
|
|
193
206
|
end
|
|
194
207
|
|
|
@@ -201,7 +214,7 @@ module TrinsicApi
|
|
|
201
214
|
# Calculates hash code according to all attributes.
|
|
202
215
|
# @return [Integer] Hash code
|
|
203
216
|
def hash
|
|
204
|
-
[provider, verification_profile_id, redirect_url, provider_input].hash
|
|
217
|
+
[provider, verification_profile_id, redirect_url, browser_languages, provider_input].hash
|
|
205
218
|
end
|
|
206
219
|
|
|
207
220
|
# Builds the object from hash
|
|
@@ -227,61 +240,6 @@ module TrinsicApi
|
|
|
227
240
|
new(transformed_hash)
|
|
228
241
|
end
|
|
229
242
|
|
|
230
|
-
# Deserializes the data based on type
|
|
231
|
-
# @param string type Data type
|
|
232
|
-
# @param string value Value to be deserialized
|
|
233
|
-
# @return [Object] Deserialized data
|
|
234
|
-
def self._deserialize(type, value)
|
|
235
|
-
case type.to_sym
|
|
236
|
-
when :Time
|
|
237
|
-
Time.parse(value)
|
|
238
|
-
when :Date
|
|
239
|
-
Date.parse(value)
|
|
240
|
-
when :String
|
|
241
|
-
value.to_s
|
|
242
|
-
when :Integer
|
|
243
|
-
value.to_i
|
|
244
|
-
when :Float
|
|
245
|
-
value.to_f
|
|
246
|
-
when :Boolean
|
|
247
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
248
|
-
true
|
|
249
|
-
else
|
|
250
|
-
false
|
|
251
|
-
end
|
|
252
|
-
when :Object
|
|
253
|
-
# generic object (usually a Hash), return directly
|
|
254
|
-
value
|
|
255
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
256
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
257
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
258
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
259
|
-
k_type = Regexp.last_match[:k_type]
|
|
260
|
-
v_type = Regexp.last_match[:v_type]
|
|
261
|
-
{}.tap do |hash|
|
|
262
|
-
value.each do |k, v|
|
|
263
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
264
|
-
end
|
|
265
|
-
end
|
|
266
|
-
else # model
|
|
267
|
-
# models (e.g. Pet) or oneOf
|
|
268
|
-
klass = TrinsicApi.const_get(type)
|
|
269
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
270
|
-
end
|
|
271
|
-
end
|
|
272
|
-
|
|
273
|
-
# Returns the string representation of the object
|
|
274
|
-
# @return [String] String presentation of the object
|
|
275
|
-
def to_s
|
|
276
|
-
to_hash.to_s
|
|
277
|
-
end
|
|
278
|
-
|
|
279
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
280
|
-
# @return [Hash] Returns the object in the form of hash
|
|
281
|
-
def to_body
|
|
282
|
-
to_hash
|
|
283
|
-
end
|
|
284
|
-
|
|
285
243
|
# Returns the object in the form of hash
|
|
286
244
|
# @return [Hash] Returns the object in the form of hash
|
|
287
245
|
def to_hash
|
|
@@ -298,24 +256,6 @@ module TrinsicApi
|
|
|
298
256
|
hash
|
|
299
257
|
end
|
|
300
258
|
|
|
301
|
-
# Outputs non-array value in the form of hash
|
|
302
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
303
|
-
# @param [Object] value Any valid value
|
|
304
|
-
# @return [Hash] Returns the value in the form of hash
|
|
305
|
-
def _to_hash(value)
|
|
306
|
-
if value.is_a?(Array)
|
|
307
|
-
value.compact.map { |v| _to_hash(v) }
|
|
308
|
-
elsif value.is_a?(Hash)
|
|
309
|
-
{}.tap do |hash|
|
|
310
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
311
|
-
end
|
|
312
|
-
elsif value.respond_to? :to_hash
|
|
313
|
-
value.to_hash
|
|
314
|
-
else
|
|
315
|
-
value
|
|
316
|
-
end
|
|
317
|
-
end
|
|
318
|
-
|
|
319
259
|
end
|
|
320
260
|
|
|
321
261
|
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 CreateHostedProviderSessionResponse
|
|
17
|
+
class CreateHostedProviderSessionResponse < ApiModelBase
|
|
18
18
|
# The ID of the newly-created Acceptance Session
|
|
19
19
|
attr_accessor :session_id
|
|
20
20
|
|
|
@@ -198,61 +198,6 @@ module TrinsicApi
|
|
|
198
198
|
new(transformed_hash)
|
|
199
199
|
end
|
|
200
200
|
|
|
201
|
-
# Deserializes the data based on type
|
|
202
|
-
# @param string type Data type
|
|
203
|
-
# @param string value Value to be deserialized
|
|
204
|
-
# @return [Object] Deserialized data
|
|
205
|
-
def self._deserialize(type, value)
|
|
206
|
-
case type.to_sym
|
|
207
|
-
when :Time
|
|
208
|
-
Time.parse(value)
|
|
209
|
-
when :Date
|
|
210
|
-
Date.parse(value)
|
|
211
|
-
when :String
|
|
212
|
-
value.to_s
|
|
213
|
-
when :Integer
|
|
214
|
-
value.to_i
|
|
215
|
-
when :Float
|
|
216
|
-
value.to_f
|
|
217
|
-
when :Boolean
|
|
218
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
219
|
-
true
|
|
220
|
-
else
|
|
221
|
-
false
|
|
222
|
-
end
|
|
223
|
-
when :Object
|
|
224
|
-
# generic object (usually a Hash), return directly
|
|
225
|
-
value
|
|
226
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
227
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
228
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
229
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
230
|
-
k_type = Regexp.last_match[:k_type]
|
|
231
|
-
v_type = Regexp.last_match[:v_type]
|
|
232
|
-
{}.tap do |hash|
|
|
233
|
-
value.each do |k, v|
|
|
234
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
235
|
-
end
|
|
236
|
-
end
|
|
237
|
-
else # model
|
|
238
|
-
# models (e.g. Pet) or oneOf
|
|
239
|
-
klass = TrinsicApi.const_get(type)
|
|
240
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
241
|
-
end
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
# Returns the string representation of the object
|
|
245
|
-
# @return [String] String presentation of the object
|
|
246
|
-
def to_s
|
|
247
|
-
to_hash.to_s
|
|
248
|
-
end
|
|
249
|
-
|
|
250
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
251
|
-
# @return [Hash] Returns the object in the form of hash
|
|
252
|
-
def to_body
|
|
253
|
-
to_hash
|
|
254
|
-
end
|
|
255
|
-
|
|
256
201
|
# Returns the object in the form of hash
|
|
257
202
|
# @return [Hash] Returns the object in the form of hash
|
|
258
203
|
def to_hash
|
|
@@ -269,24 +214,6 @@ module TrinsicApi
|
|
|
269
214
|
hash
|
|
270
215
|
end
|
|
271
216
|
|
|
272
|
-
# Outputs non-array value in the form of hash
|
|
273
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
274
|
-
# @param [Object] value Any valid value
|
|
275
|
-
# @return [Hash] Returns the value in the form of hash
|
|
276
|
-
def _to_hash(value)
|
|
277
|
-
if value.is_a?(Array)
|
|
278
|
-
value.compact.map { |v| _to_hash(v) }
|
|
279
|
-
elsif value.is_a?(Hash)
|
|
280
|
-
{}.tap do |hash|
|
|
281
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
282
|
-
end
|
|
283
|
-
elsif value.respond_to? :to_hash
|
|
284
|
-
value.to_hash
|
|
285
|
-
else
|
|
286
|
-
value
|
|
287
|
-
end
|
|
288
|
-
end
|
|
289
|
-
|
|
290
217
|
end
|
|
291
218
|
|
|
292
219
|
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 CreateVerificationProfileResponse
|
|
17
|
+
class CreateVerificationProfileResponse < ApiModelBase
|
|
18
18
|
# The ID of the verification profile
|
|
19
19
|
attr_accessor :id
|
|
20
20
|
|
|
@@ -144,61 +144,6 @@ module TrinsicApi
|
|
|
144
144
|
new(transformed_hash)
|
|
145
145
|
end
|
|
146
146
|
|
|
147
|
-
# Deserializes the data based on type
|
|
148
|
-
# @param string type Data type
|
|
149
|
-
# @param string value Value to be deserialized
|
|
150
|
-
# @return [Object] Deserialized data
|
|
151
|
-
def self._deserialize(type, value)
|
|
152
|
-
case type.to_sym
|
|
153
|
-
when :Time
|
|
154
|
-
Time.parse(value)
|
|
155
|
-
when :Date
|
|
156
|
-
Date.parse(value)
|
|
157
|
-
when :String
|
|
158
|
-
value.to_s
|
|
159
|
-
when :Integer
|
|
160
|
-
value.to_i
|
|
161
|
-
when :Float
|
|
162
|
-
value.to_f
|
|
163
|
-
when :Boolean
|
|
164
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
165
|
-
true
|
|
166
|
-
else
|
|
167
|
-
false
|
|
168
|
-
end
|
|
169
|
-
when :Object
|
|
170
|
-
# generic object (usually a Hash), return directly
|
|
171
|
-
value
|
|
172
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
173
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
174
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
175
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
176
|
-
k_type = Regexp.last_match[:k_type]
|
|
177
|
-
v_type = Regexp.last_match[:v_type]
|
|
178
|
-
{}.tap do |hash|
|
|
179
|
-
value.each do |k, v|
|
|
180
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
181
|
-
end
|
|
182
|
-
end
|
|
183
|
-
else # model
|
|
184
|
-
# models (e.g. Pet) or oneOf
|
|
185
|
-
klass = TrinsicApi.const_get(type)
|
|
186
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
187
|
-
end
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
# Returns the string representation of the object
|
|
191
|
-
# @return [String] String presentation of the object
|
|
192
|
-
def to_s
|
|
193
|
-
to_hash.to_s
|
|
194
|
-
end
|
|
195
|
-
|
|
196
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
197
|
-
# @return [Hash] Returns the object in the form of hash
|
|
198
|
-
def to_body
|
|
199
|
-
to_hash
|
|
200
|
-
end
|
|
201
|
-
|
|
202
147
|
# Returns the object in the form of hash
|
|
203
148
|
# @return [Hash] Returns the object in the form of hash
|
|
204
149
|
def to_hash
|
|
@@ -215,24 +160,6 @@ module TrinsicApi
|
|
|
215
160
|
hash
|
|
216
161
|
end
|
|
217
162
|
|
|
218
|
-
# Outputs non-array value in the form of hash
|
|
219
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
220
|
-
# @param [Object] value Any valid value
|
|
221
|
-
# @return [Hash] Returns the value in the form of hash
|
|
222
|
-
def _to_hash(value)
|
|
223
|
-
if value.is_a?(Array)
|
|
224
|
-
value.compact.map { |v| _to_hash(v) }
|
|
225
|
-
elsif value.is_a?(Hash)
|
|
226
|
-
{}.tap do |hash|
|
|
227
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
228
|
-
end
|
|
229
|
-
elsif value.respond_to? :to_hash
|
|
230
|
-
value.to_hash
|
|
231
|
-
else
|
|
232
|
-
value
|
|
233
|
-
end
|
|
234
|
-
end
|
|
235
|
-
|
|
236
163
|
end
|
|
237
164
|
|
|
238
165
|
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 CzechMojeIdAddressOutput
|
|
17
|
+
class CzechMojeIdAddressOutput < ApiModelBase
|
|
18
18
|
# The street address line, including house number.
|
|
19
19
|
attr_accessor :street_address
|
|
20
20
|
|
|
@@ -183,61 +183,6 @@ module TrinsicApi
|
|
|
183
183
|
new(transformed_hash)
|
|
184
184
|
end
|
|
185
185
|
|
|
186
|
-
# Deserializes the data based on type
|
|
187
|
-
# @param string type Data type
|
|
188
|
-
# @param string value Value to be deserialized
|
|
189
|
-
# @return [Object] Deserialized data
|
|
190
|
-
def self._deserialize(type, value)
|
|
191
|
-
case type.to_sym
|
|
192
|
-
when :Time
|
|
193
|
-
Time.parse(value)
|
|
194
|
-
when :Date
|
|
195
|
-
Date.parse(value)
|
|
196
|
-
when :String
|
|
197
|
-
value.to_s
|
|
198
|
-
when :Integer
|
|
199
|
-
value.to_i
|
|
200
|
-
when :Float
|
|
201
|
-
value.to_f
|
|
202
|
-
when :Boolean
|
|
203
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
204
|
-
true
|
|
205
|
-
else
|
|
206
|
-
false
|
|
207
|
-
end
|
|
208
|
-
when :Object
|
|
209
|
-
# generic object (usually a Hash), return directly
|
|
210
|
-
value
|
|
211
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
212
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
213
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
214
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
215
|
-
k_type = Regexp.last_match[:k_type]
|
|
216
|
-
v_type = Regexp.last_match[:v_type]
|
|
217
|
-
{}.tap do |hash|
|
|
218
|
-
value.each do |k, v|
|
|
219
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
220
|
-
end
|
|
221
|
-
end
|
|
222
|
-
else # model
|
|
223
|
-
# models (e.g. Pet) or oneOf
|
|
224
|
-
klass = TrinsicApi.const_get(type)
|
|
225
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
226
|
-
end
|
|
227
|
-
end
|
|
228
|
-
|
|
229
|
-
# Returns the string representation of the object
|
|
230
|
-
# @return [String] String presentation of the object
|
|
231
|
-
def to_s
|
|
232
|
-
to_hash.to_s
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
236
|
-
# @return [Hash] Returns the object in the form of hash
|
|
237
|
-
def to_body
|
|
238
|
-
to_hash
|
|
239
|
-
end
|
|
240
|
-
|
|
241
186
|
# Returns the object in the form of hash
|
|
242
187
|
# @return [Hash] Returns the object in the form of hash
|
|
243
188
|
def to_hash
|
|
@@ -254,24 +199,6 @@ module TrinsicApi
|
|
|
254
199
|
hash
|
|
255
200
|
end
|
|
256
201
|
|
|
257
|
-
# Outputs non-array value in the form of hash
|
|
258
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
259
|
-
# @param [Object] value Any valid value
|
|
260
|
-
# @return [Hash] Returns the value in the form of hash
|
|
261
|
-
def _to_hash(value)
|
|
262
|
-
if value.is_a?(Array)
|
|
263
|
-
value.compact.map { |v| _to_hash(v) }
|
|
264
|
-
elsif value.is_a?(Hash)
|
|
265
|
-
{}.tap do |hash|
|
|
266
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
267
|
-
end
|
|
268
|
-
elsif value.respond_to? :to_hash
|
|
269
|
-
value.to_hash
|
|
270
|
-
else
|
|
271
|
-
value
|
|
272
|
-
end
|
|
273
|
-
end
|
|
274
|
-
|
|
275
202
|
end
|
|
276
203
|
|
|
277
204
|
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
|
# Exposed properties for the `czech-moje-id` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
-
class CzechMojeIdProviderOutput
|
|
19
|
-
# The subject identifier (sub) of the verified individual's MojeID account. This is a unique identifier that represents the
|
|
18
|
+
class CzechMojeIdProviderOutput < ApiModelBase
|
|
19
|
+
# The subject identifier (sub) of the verified individual's MojeID account. This is a unique identifier that represents the individual within the MojeID system.
|
|
20
20
|
attr_accessor :subject_identifier
|
|
21
21
|
|
|
22
22
|
# The individual's full name.
|
|
@@ -64,6 +64,12 @@ module TrinsicApi
|
|
|
64
64
|
# The MojeID account has been validated. A validated account indicates the individual's identity has been verified to a higher level of assurance within the MojeID system.
|
|
65
65
|
attr_accessor :account_validated
|
|
66
66
|
|
|
67
|
+
# The individual's ISDS identifier (Informační systém datových schránek — Czech data box system), used for official electronic communication with Czech government authorities.
|
|
68
|
+
attr_accessor :isds_id
|
|
69
|
+
|
|
70
|
+
# Whether the individual is a student.
|
|
71
|
+
attr_accessor :is_student
|
|
72
|
+
|
|
67
73
|
# The individual's or organization's Czech Registration ID (ICO), the Czech company registration number.
|
|
68
74
|
attr_accessor :company_registration_number
|
|
69
75
|
|
|
@@ -104,6 +110,8 @@ module TrinsicApi
|
|
|
104
110
|
:'social_security_number' => :'socialSecurityNumber',
|
|
105
111
|
:'is_adult' => :'isAdult',
|
|
106
112
|
:'account_validated' => :'accountValidated',
|
|
113
|
+
:'isds_id' => :'isdsId',
|
|
114
|
+
:'is_student' => :'isStudent',
|
|
107
115
|
:'company_registration_number' => :'companyRegistrationNumber',
|
|
108
116
|
:'tax_identification_number' => :'taxIdentificationNumber',
|
|
109
117
|
:'nia_verified' => :'niaVerified',
|
|
@@ -143,6 +151,8 @@ module TrinsicApi
|
|
|
143
151
|
:'social_security_number' => :'String',
|
|
144
152
|
:'is_adult' => :'Boolean',
|
|
145
153
|
:'account_validated' => :'Boolean',
|
|
154
|
+
:'isds_id' => :'String',
|
|
155
|
+
:'is_student' => :'Boolean',
|
|
146
156
|
:'company_registration_number' => :'String',
|
|
147
157
|
:'tax_identification_number' => :'String',
|
|
148
158
|
:'nia_verified' => :'Boolean',
|
|
@@ -172,6 +182,8 @@ module TrinsicApi
|
|
|
172
182
|
:'social_security_number',
|
|
173
183
|
:'is_adult',
|
|
174
184
|
:'account_validated',
|
|
185
|
+
:'isds_id',
|
|
186
|
+
:'is_student',
|
|
175
187
|
:'company_registration_number',
|
|
176
188
|
:'tax_identification_number',
|
|
177
189
|
:'nia_verified',
|
|
@@ -262,6 +274,14 @@ module TrinsicApi
|
|
|
262
274
|
self.account_validated = attributes[:'account_validated']
|
|
263
275
|
end
|
|
264
276
|
|
|
277
|
+
if attributes.key?(:'isds_id')
|
|
278
|
+
self.isds_id = attributes[:'isds_id']
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
if attributes.key?(:'is_student')
|
|
282
|
+
self.is_student = attributes[:'is_student']
|
|
283
|
+
end
|
|
284
|
+
|
|
265
285
|
if attributes.key?(:'company_registration_number')
|
|
266
286
|
self.company_registration_number = attributes[:'company_registration_number']
|
|
267
287
|
end
|
|
@@ -327,6 +347,8 @@ module TrinsicApi
|
|
|
327
347
|
social_security_number == o.social_security_number &&
|
|
328
348
|
is_adult == o.is_adult &&
|
|
329
349
|
account_validated == o.account_validated &&
|
|
350
|
+
isds_id == o.isds_id &&
|
|
351
|
+
is_student == o.is_student &&
|
|
330
352
|
company_registration_number == o.company_registration_number &&
|
|
331
353
|
tax_identification_number == o.tax_identification_number &&
|
|
332
354
|
nia_verified == o.nia_verified &&
|
|
@@ -345,7 +367,7 @@ module TrinsicApi
|
|
|
345
367
|
# Calculates hash code according to all attributes.
|
|
346
368
|
# @return [Integer] Hash code
|
|
347
369
|
def hash
|
|
348
|
-
[subject_identifier, name, given_name, family_name, nickname, email, email_verified, phone_number, phone_number_verified, date_of_birth, gender, id_card_number, passport_number, social_security_number, is_adult, account_validated, company_registration_number, tax_identification_number, nia_verified, transaction_id, home_address, billing_address, shipping_address].hash
|
|
370
|
+
[subject_identifier, name, given_name, family_name, nickname, email, email_verified, phone_number, phone_number_verified, date_of_birth, gender, id_card_number, passport_number, social_security_number, is_adult, account_validated, isds_id, is_student, company_registration_number, tax_identification_number, nia_verified, transaction_id, home_address, billing_address, shipping_address].hash
|
|
349
371
|
end
|
|
350
372
|
|
|
351
373
|
# Builds the object from hash
|
|
@@ -371,61 +393,6 @@ module TrinsicApi
|
|
|
371
393
|
new(transformed_hash)
|
|
372
394
|
end
|
|
373
395
|
|
|
374
|
-
# Deserializes the data based on type
|
|
375
|
-
# @param string type Data type
|
|
376
|
-
# @param string value Value to be deserialized
|
|
377
|
-
# @return [Object] Deserialized data
|
|
378
|
-
def self._deserialize(type, value)
|
|
379
|
-
case type.to_sym
|
|
380
|
-
when :Time
|
|
381
|
-
Time.parse(value)
|
|
382
|
-
when :Date
|
|
383
|
-
Date.parse(value)
|
|
384
|
-
when :String
|
|
385
|
-
value.to_s
|
|
386
|
-
when :Integer
|
|
387
|
-
value.to_i
|
|
388
|
-
when :Float
|
|
389
|
-
value.to_f
|
|
390
|
-
when :Boolean
|
|
391
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
392
|
-
true
|
|
393
|
-
else
|
|
394
|
-
false
|
|
395
|
-
end
|
|
396
|
-
when :Object
|
|
397
|
-
# generic object (usually a Hash), return directly
|
|
398
|
-
value
|
|
399
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
400
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
401
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
402
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
403
|
-
k_type = Regexp.last_match[:k_type]
|
|
404
|
-
v_type = Regexp.last_match[:v_type]
|
|
405
|
-
{}.tap do |hash|
|
|
406
|
-
value.each do |k, v|
|
|
407
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
408
|
-
end
|
|
409
|
-
end
|
|
410
|
-
else # model
|
|
411
|
-
# models (e.g. Pet) or oneOf
|
|
412
|
-
klass = TrinsicApi.const_get(type)
|
|
413
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
414
|
-
end
|
|
415
|
-
end
|
|
416
|
-
|
|
417
|
-
# Returns the string representation of the object
|
|
418
|
-
# @return [String] String presentation of the object
|
|
419
|
-
def to_s
|
|
420
|
-
to_hash.to_s
|
|
421
|
-
end
|
|
422
|
-
|
|
423
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
424
|
-
# @return [Hash] Returns the object in the form of hash
|
|
425
|
-
def to_body
|
|
426
|
-
to_hash
|
|
427
|
-
end
|
|
428
|
-
|
|
429
396
|
# Returns the object in the form of hash
|
|
430
397
|
# @return [Hash] Returns the object in the form of hash
|
|
431
398
|
def to_hash
|
|
@@ -442,24 +409,6 @@ module TrinsicApi
|
|
|
442
409
|
hash
|
|
443
410
|
end
|
|
444
411
|
|
|
445
|
-
# Outputs non-array value in the form of hash
|
|
446
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
447
|
-
# @param [Object] value Any valid value
|
|
448
|
-
# @return [Hash] Returns the value in the form of hash
|
|
449
|
-
def _to_hash(value)
|
|
450
|
-
if value.is_a?(Array)
|
|
451
|
-
value.compact.map { |v| _to_hash(v) }
|
|
452
|
-
elsif value.is_a?(Hash)
|
|
453
|
-
{}.tap do |hash|
|
|
454
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
455
|
-
end
|
|
456
|
-
elsif value.respond_to? :to_hash
|
|
457
|
-
value.to_hash
|
|
458
|
-
else
|
|
459
|
-
value
|
|
460
|
-
end
|
|
461
|
-
end
|
|
462
|
-
|
|
463
412
|
end
|
|
464
413
|
|
|
465
414
|
end
|