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
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
class KoreaTelcoMatchInput < ApiModelBase
|
|
18
|
+
# Phone number without dashes, e.g. \"010XXXXXXXX\".
|
|
19
|
+
attr_accessor :phone_number
|
|
20
|
+
|
|
21
|
+
# Full legal name (UTF-8), e.g. \"홍길동\" or \"Hong Gildong\".
|
|
22
|
+
attr_accessor :full_name
|
|
23
|
+
|
|
24
|
+
# Date of birth.
|
|
25
|
+
attr_accessor :date_of_birth
|
|
26
|
+
|
|
27
|
+
# Sex. Must be Male or Female.
|
|
28
|
+
attr_accessor :sex
|
|
29
|
+
|
|
30
|
+
# Mobile carrier. Lgu = LG U+, Skt = SK Telecom, Kt = KT.
|
|
31
|
+
attr_accessor :carrier
|
|
32
|
+
|
|
33
|
+
# Device operating system.
|
|
34
|
+
attr_accessor :operating_system
|
|
35
|
+
|
|
36
|
+
class EnumAttributeValidator
|
|
37
|
+
attr_reader :datatype
|
|
38
|
+
attr_reader :allowable_values
|
|
39
|
+
|
|
40
|
+
def initialize(datatype, allowable_values)
|
|
41
|
+
@allowable_values = allowable_values.map do |value|
|
|
42
|
+
case datatype.to_s
|
|
43
|
+
when /Integer/i
|
|
44
|
+
value.to_i
|
|
45
|
+
when /Float/i
|
|
46
|
+
value.to_f
|
|
47
|
+
else
|
|
48
|
+
value
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def valid?(value)
|
|
54
|
+
!value || allowable_values.include?(value)
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
59
|
+
def self.attribute_map
|
|
60
|
+
{
|
|
61
|
+
:'phone_number' => :'phoneNumber',
|
|
62
|
+
:'full_name' => :'fullName',
|
|
63
|
+
:'date_of_birth' => :'dateOfBirth',
|
|
64
|
+
:'sex' => :'sex',
|
|
65
|
+
:'carrier' => :'carrier',
|
|
66
|
+
:'operating_system' => :'operatingSystem'
|
|
67
|
+
}
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Returns attribute mapping this model knows about
|
|
71
|
+
def self.acceptable_attribute_map
|
|
72
|
+
attribute_map
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Returns all the JSON keys this model knows about
|
|
76
|
+
def self.acceptable_attributes
|
|
77
|
+
acceptable_attribute_map.values
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# Attribute type mapping.
|
|
81
|
+
def self.openapi_types
|
|
82
|
+
{
|
|
83
|
+
:'phone_number' => :'String',
|
|
84
|
+
:'full_name' => :'String',
|
|
85
|
+
:'date_of_birth' => :'Date',
|
|
86
|
+
:'sex' => :'KoreaTelcoMatchSex',
|
|
87
|
+
:'carrier' => :'MobileCarrier',
|
|
88
|
+
:'operating_system' => :'MobileOperatingSystem'
|
|
89
|
+
}
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# List of attributes with nullable: true
|
|
93
|
+
def self.openapi_nullable
|
|
94
|
+
Set.new([
|
|
95
|
+
])
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Initializes the object
|
|
99
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
100
|
+
def initialize(attributes = {})
|
|
101
|
+
if (!attributes.is_a?(Hash))
|
|
102
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::KoreaTelcoMatchInput` initialize method"
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
106
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
107
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
108
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
109
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::KoreaTelcoMatchInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
110
|
+
end
|
|
111
|
+
h[k.to_sym] = v
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'phone_number')
|
|
115
|
+
self.phone_number = attributes[:'phone_number']
|
|
116
|
+
else
|
|
117
|
+
self.phone_number = nil
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
if attributes.key?(:'full_name')
|
|
121
|
+
self.full_name = attributes[:'full_name']
|
|
122
|
+
else
|
|
123
|
+
self.full_name = nil
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
if attributes.key?(:'date_of_birth')
|
|
127
|
+
self.date_of_birth = attributes[:'date_of_birth']
|
|
128
|
+
else
|
|
129
|
+
self.date_of_birth = nil
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'sex')
|
|
133
|
+
self.sex = attributes[:'sex']
|
|
134
|
+
else
|
|
135
|
+
self.sex = nil
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'carrier')
|
|
139
|
+
self.carrier = attributes[:'carrier']
|
|
140
|
+
else
|
|
141
|
+
self.carrier = nil
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
if attributes.key?(:'operating_system')
|
|
145
|
+
self.operating_system = attributes[:'operating_system']
|
|
146
|
+
else
|
|
147
|
+
self.operating_system = nil
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
152
|
+
# @return Array for valid properties with the reasons
|
|
153
|
+
def list_invalid_properties
|
|
154
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
155
|
+
invalid_properties = Array.new
|
|
156
|
+
if @phone_number.nil?
|
|
157
|
+
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
if @phone_number.to_s.length < 1
|
|
161
|
+
invalid_properties.push('invalid value for "phone_number", the character length must be greater than or equal to 1.')
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
if @full_name.nil?
|
|
165
|
+
invalid_properties.push('invalid value for "full_name", full_name cannot be nil.')
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
if @full_name.to_s.length < 1
|
|
169
|
+
invalid_properties.push('invalid value for "full_name", the character length must be greater than or equal to 1.')
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
if @date_of_birth.nil?
|
|
173
|
+
invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.')
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
if @sex.nil?
|
|
177
|
+
invalid_properties.push('invalid value for "sex", sex cannot be nil.')
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
if @carrier.nil?
|
|
181
|
+
invalid_properties.push('invalid value for "carrier", carrier cannot be nil.')
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
if @operating_system.nil?
|
|
185
|
+
invalid_properties.push('invalid value for "operating_system", operating_system cannot be nil.')
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
invalid_properties
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Check to see if the all the properties in the model are valid
|
|
192
|
+
# @return true if the model is valid
|
|
193
|
+
def valid?
|
|
194
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
195
|
+
return false if @phone_number.nil?
|
|
196
|
+
return false if @phone_number.to_s.length < 1
|
|
197
|
+
return false if @full_name.nil?
|
|
198
|
+
return false if @full_name.to_s.length < 1
|
|
199
|
+
return false if @date_of_birth.nil?
|
|
200
|
+
return false if @sex.nil?
|
|
201
|
+
return false if @carrier.nil?
|
|
202
|
+
return false if @operating_system.nil?
|
|
203
|
+
true
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
# Custom attribute writer method with validation
|
|
207
|
+
# @param [Object] phone_number Value to be assigned
|
|
208
|
+
def phone_number=(phone_number)
|
|
209
|
+
if phone_number.nil?
|
|
210
|
+
fail ArgumentError, 'phone_number cannot be nil'
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
if phone_number.to_s.length < 1
|
|
214
|
+
fail ArgumentError, 'invalid value for "phone_number", the character length must be greater than or equal to 1.'
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
@phone_number = phone_number
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Custom attribute writer method with validation
|
|
221
|
+
# @param [Object] full_name Value to be assigned
|
|
222
|
+
def full_name=(full_name)
|
|
223
|
+
if full_name.nil?
|
|
224
|
+
fail ArgumentError, 'full_name cannot be nil'
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
if full_name.to_s.length < 1
|
|
228
|
+
fail ArgumentError, 'invalid value for "full_name", the character length must be greater than or equal to 1.'
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
@full_name = full_name
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
# Custom attribute writer method with validation
|
|
235
|
+
# @param [Object] date_of_birth Value to be assigned
|
|
236
|
+
def date_of_birth=(date_of_birth)
|
|
237
|
+
if date_of_birth.nil?
|
|
238
|
+
fail ArgumentError, 'date_of_birth cannot be nil'
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
@date_of_birth = date_of_birth
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# Custom attribute writer method with validation
|
|
245
|
+
# @param [Object] sex Value to be assigned
|
|
246
|
+
def sex=(sex)
|
|
247
|
+
if sex.nil?
|
|
248
|
+
fail ArgumentError, 'sex cannot be nil'
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
@sex = sex
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
# Custom attribute writer method with validation
|
|
255
|
+
# @param [Object] carrier Value to be assigned
|
|
256
|
+
def carrier=(carrier)
|
|
257
|
+
if carrier.nil?
|
|
258
|
+
fail ArgumentError, 'carrier cannot be nil'
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
@carrier = carrier
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# Custom attribute writer method with validation
|
|
265
|
+
# @param [Object] operating_system Value to be assigned
|
|
266
|
+
def operating_system=(operating_system)
|
|
267
|
+
if operating_system.nil?
|
|
268
|
+
fail ArgumentError, 'operating_system cannot be nil'
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
@operating_system = operating_system
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
# Checks equality by comparing each attribute.
|
|
275
|
+
# @param [Object] Object to be compared
|
|
276
|
+
def ==(o)
|
|
277
|
+
return true if self.equal?(o)
|
|
278
|
+
self.class == o.class &&
|
|
279
|
+
phone_number == o.phone_number &&
|
|
280
|
+
full_name == o.full_name &&
|
|
281
|
+
date_of_birth == o.date_of_birth &&
|
|
282
|
+
sex == o.sex &&
|
|
283
|
+
carrier == o.carrier &&
|
|
284
|
+
operating_system == o.operating_system
|
|
285
|
+
end
|
|
286
|
+
|
|
287
|
+
# @see the `==` method
|
|
288
|
+
# @param [Object] Object to be compared
|
|
289
|
+
def eql?(o)
|
|
290
|
+
self == o
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
# Calculates hash code according to all attributes.
|
|
294
|
+
# @return [Integer] Hash code
|
|
295
|
+
def hash
|
|
296
|
+
[phone_number, full_name, date_of_birth, sex, carrier, operating_system].hash
|
|
297
|
+
end
|
|
298
|
+
|
|
299
|
+
# Builds the object from hash
|
|
300
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
301
|
+
# @return [Object] Returns the model itself
|
|
302
|
+
def self.build_from_hash(attributes)
|
|
303
|
+
return nil unless attributes.is_a?(Hash)
|
|
304
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
305
|
+
transformed_hash = {}
|
|
306
|
+
openapi_types.each_pair do |key, type|
|
|
307
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
308
|
+
transformed_hash["#{key}"] = nil
|
|
309
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
310
|
+
# check to ensure the input is an array given that the attribute
|
|
311
|
+
# is documented as an array but the input is not
|
|
312
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
313
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
314
|
+
end
|
|
315
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
316
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
new(transformed_hash)
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
# Returns the object in the form of hash
|
|
323
|
+
# @return [Hash] Returns the object in the form of hash
|
|
324
|
+
def to_hash
|
|
325
|
+
hash = {}
|
|
326
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
327
|
+
value = self.send(attr)
|
|
328
|
+
if value.nil?
|
|
329
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
330
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
hash[param] = _to_hash(value)
|
|
334
|
+
end
|
|
335
|
+
hash
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
end
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
# Exposed properties for the `korea-telco-match` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
class KoreaTelcoMatchProviderOutput < ApiModelBase
|
|
19
|
+
# The verified phone number as submitted by the relying party.
|
|
20
|
+
attr_accessor :phone_number
|
|
21
|
+
|
|
22
|
+
# The mobile carrier used for verification. Possible values: <list type=\"bullet\"><item><description>Lgu</description></item><item><description>Skt</description></item><item><description>Kt</description></item></list>
|
|
23
|
+
attr_accessor :tele_type
|
|
24
|
+
|
|
25
|
+
# The RaonSecure result code returned by the carrier verification system. \"0000\" indicates a successful match. Common error codes: - \"0000\": Successful match - \"0001\": Identity Verification Failed - Verification Information Mismatch (General) - \"0002\": Identity Verification Failed - Unable to Verify Phone Number - \"0004\": Identity Verification Failed - Date of Birth Verification Error - \"0005\": Identity Verification Failed - Gender Verification Error - \"0006\": Identity Verification Failed - Name Verification Error - \"0009\": Identity Verification Failed - Device OS Mismatch
|
|
26
|
+
attr_accessor :result_code
|
|
27
|
+
|
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
|
+
def self.attribute_map
|
|
30
|
+
{
|
|
31
|
+
:'phone_number' => :'phoneNumber',
|
|
32
|
+
:'tele_type' => :'teleType',
|
|
33
|
+
:'result_code' => :'resultCode'
|
|
34
|
+
}
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Returns attribute mapping this model knows about
|
|
38
|
+
def self.acceptable_attribute_map
|
|
39
|
+
attribute_map
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
# Returns all the JSON keys this model knows about
|
|
43
|
+
def self.acceptable_attributes
|
|
44
|
+
acceptable_attribute_map.values
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Attribute type mapping.
|
|
48
|
+
def self.openapi_types
|
|
49
|
+
{
|
|
50
|
+
:'phone_number' => :'String',
|
|
51
|
+
:'tele_type' => :'String',
|
|
52
|
+
:'result_code' => :'String'
|
|
53
|
+
}
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# List of attributes with nullable: true
|
|
57
|
+
def self.openapi_nullable
|
|
58
|
+
Set.new([
|
|
59
|
+
])
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Initializes the object
|
|
63
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
64
|
+
def initialize(attributes = {})
|
|
65
|
+
if (!attributes.is_a?(Hash))
|
|
66
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `TrinsicApi::KoreaTelcoMatchProviderOutput` initialize method"
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
70
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
71
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
72
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `TrinsicApi::KoreaTelcoMatchProviderOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
74
|
+
end
|
|
75
|
+
h[k.to_sym] = v
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'phone_number')
|
|
79
|
+
self.phone_number = attributes[:'phone_number']
|
|
80
|
+
else
|
|
81
|
+
self.phone_number = nil
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'tele_type')
|
|
85
|
+
self.tele_type = attributes[:'tele_type']
|
|
86
|
+
else
|
|
87
|
+
self.tele_type = nil
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes.key?(:'result_code')
|
|
91
|
+
self.result_code = attributes[:'result_code']
|
|
92
|
+
else
|
|
93
|
+
self.result_code = nil
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
98
|
+
# @return Array for valid properties with the reasons
|
|
99
|
+
def list_invalid_properties
|
|
100
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
101
|
+
invalid_properties = Array.new
|
|
102
|
+
if @phone_number.nil?
|
|
103
|
+
invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
if @tele_type.nil?
|
|
107
|
+
invalid_properties.push('invalid value for "tele_type", tele_type cannot be nil.')
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if @result_code.nil?
|
|
111
|
+
invalid_properties.push('invalid value for "result_code", result_code cannot be nil.')
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
invalid_properties
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Check to see if the all the properties in the model are valid
|
|
118
|
+
# @return true if the model is valid
|
|
119
|
+
def valid?
|
|
120
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
121
|
+
return false if @phone_number.nil?
|
|
122
|
+
return false if @tele_type.nil?
|
|
123
|
+
return false if @result_code.nil?
|
|
124
|
+
true
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Custom attribute writer method with validation
|
|
128
|
+
# @param [Object] phone_number Value to be assigned
|
|
129
|
+
def phone_number=(phone_number)
|
|
130
|
+
if phone_number.nil?
|
|
131
|
+
fail ArgumentError, 'phone_number cannot be nil'
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
@phone_number = phone_number
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
# Custom attribute writer method with validation
|
|
138
|
+
# @param [Object] tele_type Value to be assigned
|
|
139
|
+
def tele_type=(tele_type)
|
|
140
|
+
if tele_type.nil?
|
|
141
|
+
fail ArgumentError, 'tele_type cannot be nil'
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
@tele_type = tele_type
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Custom attribute writer method with validation
|
|
148
|
+
# @param [Object] result_code Value to be assigned
|
|
149
|
+
def result_code=(result_code)
|
|
150
|
+
if result_code.nil?
|
|
151
|
+
fail ArgumentError, 'result_code cannot be nil'
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
@result_code = result_code
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Checks equality by comparing each attribute.
|
|
158
|
+
# @param [Object] Object to be compared
|
|
159
|
+
def ==(o)
|
|
160
|
+
return true if self.equal?(o)
|
|
161
|
+
self.class == o.class &&
|
|
162
|
+
phone_number == o.phone_number &&
|
|
163
|
+
tele_type == o.tele_type &&
|
|
164
|
+
result_code == o.result_code
|
|
165
|
+
end
|
|
166
|
+
|
|
167
|
+
# @see the `==` method
|
|
168
|
+
# @param [Object] Object to be compared
|
|
169
|
+
def eql?(o)
|
|
170
|
+
self == o
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# Calculates hash code according to all attributes.
|
|
174
|
+
# @return [Integer] Hash code
|
|
175
|
+
def hash
|
|
176
|
+
[phone_number, tele_type, result_code].hash
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# Builds the object from hash
|
|
180
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
181
|
+
# @return [Object] Returns the model itself
|
|
182
|
+
def self.build_from_hash(attributes)
|
|
183
|
+
return nil unless attributes.is_a?(Hash)
|
|
184
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
185
|
+
transformed_hash = {}
|
|
186
|
+
openapi_types.each_pair do |key, type|
|
|
187
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
188
|
+
transformed_hash["#{key}"] = nil
|
|
189
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
190
|
+
# check to ensure the input is an array given that the attribute
|
|
191
|
+
# is documented as an array but the input is not
|
|
192
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
193
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
194
|
+
end
|
|
195
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
196
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
197
|
+
end
|
|
198
|
+
end
|
|
199
|
+
new(transformed_hash)
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# Returns the object in the form of hash
|
|
203
|
+
# @return [Hash] Returns the object in the form of hash
|
|
204
|
+
def to_hash
|
|
205
|
+
hash = {}
|
|
206
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
207
|
+
value = self.send(attr)
|
|
208
|
+
if value.nil?
|
|
209
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
210
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
hash[param] = _to_hash(value)
|
|
214
|
+
end
|
|
215
|
+
hash
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Trinsic API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v1
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.21.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module TrinsicApi
|
|
17
|
+
class KoreaTelcoMatchSex
|
|
18
|
+
MALE = "Male".freeze
|
|
19
|
+
FEMALE = "Female".freeze
|
|
20
|
+
|
|
21
|
+
def self.all_vars
|
|
22
|
+
@all_vars ||= [MALE, FEMALE].freeze
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
# Builds the enum from string
|
|
26
|
+
# @param [String] The enum value in the form of the string
|
|
27
|
+
# @return [String] The enum value
|
|
28
|
+
def self.build_from_hash(value)
|
|
29
|
+
new.build_from_hash(value)
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Builds the enum from string
|
|
33
|
+
# @param [String] The enum value in the form of the string
|
|
34
|
+
# @return [String] The enum value
|
|
35
|
+
def build_from_hash(value)
|
|
36
|
+
return value if KoreaTelcoMatchSex.all_vars.include?(value)
|
|
37
|
+
raise "Invalid ENUM value #{value} for class #KoreaTelcoMatchSex"
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
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 `usa-louisiana-wallet` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
-
class LaWalletProviderOutput
|
|
18
|
+
class LaWalletProviderOutput < ApiModelBase
|
|
19
19
|
# The number of the driver's license used to create the LA Wallet credential
|
|
20
20
|
attr_accessor :drivers_license_number
|
|
21
21
|
|
|
@@ -588,61 +588,6 @@ module TrinsicApi
|
|
|
588
588
|
new(transformed_hash)
|
|
589
589
|
end
|
|
590
590
|
|
|
591
|
-
# Deserializes the data based on type
|
|
592
|
-
# @param string type Data type
|
|
593
|
-
# @param string value Value to be deserialized
|
|
594
|
-
# @return [Object] Deserialized data
|
|
595
|
-
def self._deserialize(type, value)
|
|
596
|
-
case type.to_sym
|
|
597
|
-
when :Time
|
|
598
|
-
Time.parse(value)
|
|
599
|
-
when :Date
|
|
600
|
-
Date.parse(value)
|
|
601
|
-
when :String
|
|
602
|
-
value.to_s
|
|
603
|
-
when :Integer
|
|
604
|
-
value.to_i
|
|
605
|
-
when :Float
|
|
606
|
-
value.to_f
|
|
607
|
-
when :Boolean
|
|
608
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
609
|
-
true
|
|
610
|
-
else
|
|
611
|
-
false
|
|
612
|
-
end
|
|
613
|
-
when :Object
|
|
614
|
-
# generic object (usually a Hash), return directly
|
|
615
|
-
value
|
|
616
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
617
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
618
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
619
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
620
|
-
k_type = Regexp.last_match[:k_type]
|
|
621
|
-
v_type = Regexp.last_match[:v_type]
|
|
622
|
-
{}.tap do |hash|
|
|
623
|
-
value.each do |k, v|
|
|
624
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
625
|
-
end
|
|
626
|
-
end
|
|
627
|
-
else # model
|
|
628
|
-
# models (e.g. Pet) or oneOf
|
|
629
|
-
klass = TrinsicApi.const_get(type)
|
|
630
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
631
|
-
end
|
|
632
|
-
end
|
|
633
|
-
|
|
634
|
-
# Returns the string representation of the object
|
|
635
|
-
# @return [String] String presentation of the object
|
|
636
|
-
def to_s
|
|
637
|
-
to_hash.to_s
|
|
638
|
-
end
|
|
639
|
-
|
|
640
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
641
|
-
# @return [Hash] Returns the object in the form of hash
|
|
642
|
-
def to_body
|
|
643
|
-
to_hash
|
|
644
|
-
end
|
|
645
|
-
|
|
646
591
|
# Returns the object in the form of hash
|
|
647
592
|
# @return [Hash] Returns the object in the form of hash
|
|
648
593
|
def to_hash
|
|
@@ -659,24 +604,6 @@ module TrinsicApi
|
|
|
659
604
|
hash
|
|
660
605
|
end
|
|
661
606
|
|
|
662
|
-
# Outputs non-array value in the form of hash
|
|
663
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
664
|
-
# @param [Object] value Any valid value
|
|
665
|
-
# @return [Hash] Returns the value in the form of hash
|
|
666
|
-
def _to_hash(value)
|
|
667
|
-
if value.is_a?(Array)
|
|
668
|
-
value.compact.map { |v| _to_hash(v) }
|
|
669
|
-
elsif value.is_a?(Hash)
|
|
670
|
-
{}.tap do |hash|
|
|
671
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
672
|
-
end
|
|
673
|
-
elsif value.respond_to? :to_hash
|
|
674
|
-
value.to_hash
|
|
675
|
-
else
|
|
676
|
-
value
|
|
677
|
-
end
|
|
678
|
-
end
|
|
679
|
-
|
|
680
607
|
end
|
|
681
608
|
|
|
682
609
|
end
|