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 KenyaNidInput
|
|
17
|
+
class KenyaNidInput < ApiModelBase
|
|
18
18
|
# The user's first name as it appears in their National ID
|
|
19
19
|
attr_accessor :first_name
|
|
20
20
|
|
|
@@ -135,7 +135,7 @@ module TrinsicApi
|
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
if @first_name.to_s.length < 1
|
|
138
|
-
invalid_properties.push('invalid value for "first_name", the character length must be
|
|
138
|
+
invalid_properties.push('invalid value for "first_name", the character length must be greater than or equal to 1.')
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
if @last_name.nil?
|
|
@@ -143,7 +143,7 @@ module TrinsicApi
|
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
if @last_name.to_s.length < 1
|
|
146
|
-
invalid_properties.push('invalid value for "last_name", the character length must be
|
|
146
|
+
invalid_properties.push('invalid value for "last_name", the character length must be greater than or equal to 1.')
|
|
147
147
|
end
|
|
148
148
|
|
|
149
149
|
if @date_of_birth.nil?
|
|
@@ -155,7 +155,7 @@ module TrinsicApi
|
|
|
155
155
|
end
|
|
156
156
|
|
|
157
157
|
if @gender.to_s.length < 1
|
|
158
|
-
invalid_properties.push('invalid value for "gender", the character length must be
|
|
158
|
+
invalid_properties.push('invalid value for "gender", the character length must be greater than or equal to 1.')
|
|
159
159
|
end
|
|
160
160
|
|
|
161
161
|
if @national_id_number.nil?
|
|
@@ -167,7 +167,7 @@ module TrinsicApi
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
if @national_id_number.to_s.length < 8
|
|
170
|
-
invalid_properties.push('invalid value for "national_id_number", the character length must be
|
|
170
|
+
invalid_properties.push('invalid value for "national_id_number", the character length must be greater than or equal to 8.')
|
|
171
171
|
end
|
|
172
172
|
|
|
173
173
|
pattern = Regexp.new(/^\d*$/)
|
|
@@ -204,7 +204,7 @@ module TrinsicApi
|
|
|
204
204
|
end
|
|
205
205
|
|
|
206
206
|
if first_name.to_s.length < 1
|
|
207
|
-
fail ArgumentError, 'invalid value for "first_name", the character length must be
|
|
207
|
+
fail ArgumentError, 'invalid value for "first_name", the character length must be greater than or equal to 1.'
|
|
208
208
|
end
|
|
209
209
|
|
|
210
210
|
@first_name = first_name
|
|
@@ -218,7 +218,7 @@ module TrinsicApi
|
|
|
218
218
|
end
|
|
219
219
|
|
|
220
220
|
if last_name.to_s.length < 1
|
|
221
|
-
fail ArgumentError, 'invalid value for "last_name", the character length must be
|
|
221
|
+
fail ArgumentError, 'invalid value for "last_name", the character length must be greater than or equal to 1.'
|
|
222
222
|
end
|
|
223
223
|
|
|
224
224
|
@last_name = last_name
|
|
@@ -242,7 +242,7 @@ module TrinsicApi
|
|
|
242
242
|
end
|
|
243
243
|
|
|
244
244
|
if gender.to_s.length < 1
|
|
245
|
-
fail ArgumentError, 'invalid value for "gender", the character length must be
|
|
245
|
+
fail ArgumentError, 'invalid value for "gender", the character length must be greater than or equal to 1.'
|
|
246
246
|
end
|
|
247
247
|
|
|
248
248
|
@gender = gender
|
|
@@ -260,7 +260,7 @@ module TrinsicApi
|
|
|
260
260
|
end
|
|
261
261
|
|
|
262
262
|
if national_id_number.to_s.length < 8
|
|
263
|
-
fail ArgumentError, 'invalid value for "national_id_number", the character length must be
|
|
263
|
+
fail ArgumentError, 'invalid value for "national_id_number", the character length must be greater than or equal to 8.'
|
|
264
264
|
end
|
|
265
265
|
|
|
266
266
|
pattern = Regexp.new(/^\d*$/)
|
|
@@ -319,61 +319,6 @@ module TrinsicApi
|
|
|
319
319
|
new(transformed_hash)
|
|
320
320
|
end
|
|
321
321
|
|
|
322
|
-
# Deserializes the data based on type
|
|
323
|
-
# @param string type Data type
|
|
324
|
-
# @param string value Value to be deserialized
|
|
325
|
-
# @return [Object] Deserialized data
|
|
326
|
-
def self._deserialize(type, value)
|
|
327
|
-
case type.to_sym
|
|
328
|
-
when :Time
|
|
329
|
-
Time.parse(value)
|
|
330
|
-
when :Date
|
|
331
|
-
Date.parse(value)
|
|
332
|
-
when :String
|
|
333
|
-
value.to_s
|
|
334
|
-
when :Integer
|
|
335
|
-
value.to_i
|
|
336
|
-
when :Float
|
|
337
|
-
value.to_f
|
|
338
|
-
when :Boolean
|
|
339
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
340
|
-
true
|
|
341
|
-
else
|
|
342
|
-
false
|
|
343
|
-
end
|
|
344
|
-
when :Object
|
|
345
|
-
# generic object (usually a Hash), return directly
|
|
346
|
-
value
|
|
347
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
348
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
349
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
350
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
351
|
-
k_type = Regexp.last_match[:k_type]
|
|
352
|
-
v_type = Regexp.last_match[:v_type]
|
|
353
|
-
{}.tap do |hash|
|
|
354
|
-
value.each do |k, v|
|
|
355
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
356
|
-
end
|
|
357
|
-
end
|
|
358
|
-
else # model
|
|
359
|
-
# models (e.g. Pet) or oneOf
|
|
360
|
-
klass = TrinsicApi.const_get(type)
|
|
361
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
362
|
-
end
|
|
363
|
-
end
|
|
364
|
-
|
|
365
|
-
# Returns the string representation of the object
|
|
366
|
-
# @return [String] String presentation of the object
|
|
367
|
-
def to_s
|
|
368
|
-
to_hash.to_s
|
|
369
|
-
end
|
|
370
|
-
|
|
371
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
372
|
-
# @return [Hash] Returns the object in the form of hash
|
|
373
|
-
def to_body
|
|
374
|
-
to_hash
|
|
375
|
-
end
|
|
376
|
-
|
|
377
322
|
# Returns the object in the form of hash
|
|
378
323
|
# @return [Hash] Returns the object in the form of hash
|
|
379
324
|
def to_hash
|
|
@@ -390,24 +335,6 @@ module TrinsicApi
|
|
|
390
335
|
hash
|
|
391
336
|
end
|
|
392
337
|
|
|
393
|
-
# Outputs non-array value in the form of hash
|
|
394
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
395
|
-
# @param [Object] value Any valid value
|
|
396
|
-
# @return [Hash] Returns the value in the form of hash
|
|
397
|
-
def _to_hash(value)
|
|
398
|
-
if value.is_a?(Array)
|
|
399
|
-
value.compact.map { |v| _to_hash(v) }
|
|
400
|
-
elsif value.is_a?(Hash)
|
|
401
|
-
{}.tap do |hash|
|
|
402
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
403
|
-
end
|
|
404
|
-
elsif value.respond_to? :to_hash
|
|
405
|
-
value.to_hash
|
|
406
|
-
else
|
|
407
|
-
value
|
|
408
|
-
end
|
|
409
|
-
end
|
|
410
|
-
|
|
411
338
|
end
|
|
412
339
|
|
|
413
340
|
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
|
# Represents a Kenya address as stored in the IPRS (Integrated Population Registration System) database. The structure reflects the pre-2010 provincial administration system: District > Division > Location. Since the 2010 constitutional change to counties, these legacy administrative divisions are still maintained in IPRS records for historical continuity. The raw address from IPRS is a newline-separated string with labeled administrative components. Example format: ``` P O BOX 41842 NAIROBI PARLIAMENT BUILDINGS LOCATION - CITY SQUARE DIVISION - CENTRAL DISTRICT - NAIROBI ``` The first lines contain informal address details (village, P.O. Box) while the suffixed lines contain official administrative designations prefixed with labels like \"LOCATION -\", \"DIVISION -\", \"DISTRICT -\".
|
|
18
|
-
class KenyaNidLookup2Address
|
|
18
|
+
class KenyaNidLookup2Address < ApiModelBase
|
|
19
19
|
# The district where the person resides. This is the highest level of the pre-2010 administrative hierarchy stored in IPRS. Districts were the primary administrative units under Kenya's provincial system before the change to counties in 2010. Districts roughly correspond to sub-counties in the current administrative structure.
|
|
20
20
|
attr_accessor :district
|
|
21
21
|
|
|
@@ -175,61 +175,6 @@ module TrinsicApi
|
|
|
175
175
|
new(transformed_hash)
|
|
176
176
|
end
|
|
177
177
|
|
|
178
|
-
# Deserializes the data based on type
|
|
179
|
-
# @param string type Data type
|
|
180
|
-
# @param string value Value to be deserialized
|
|
181
|
-
# @return [Object] Deserialized data
|
|
182
|
-
def self._deserialize(type, value)
|
|
183
|
-
case type.to_sym
|
|
184
|
-
when :Time
|
|
185
|
-
Time.parse(value)
|
|
186
|
-
when :Date
|
|
187
|
-
Date.parse(value)
|
|
188
|
-
when :String
|
|
189
|
-
value.to_s
|
|
190
|
-
when :Integer
|
|
191
|
-
value.to_i
|
|
192
|
-
when :Float
|
|
193
|
-
value.to_f
|
|
194
|
-
when :Boolean
|
|
195
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
196
|
-
true
|
|
197
|
-
else
|
|
198
|
-
false
|
|
199
|
-
end
|
|
200
|
-
when :Object
|
|
201
|
-
# generic object (usually a Hash), return directly
|
|
202
|
-
value
|
|
203
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
204
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
205
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
206
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
207
|
-
k_type = Regexp.last_match[:k_type]
|
|
208
|
-
v_type = Regexp.last_match[:v_type]
|
|
209
|
-
{}.tap do |hash|
|
|
210
|
-
value.each do |k, v|
|
|
211
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
212
|
-
end
|
|
213
|
-
end
|
|
214
|
-
else # model
|
|
215
|
-
# models (e.g. Pet) or oneOf
|
|
216
|
-
klass = TrinsicApi.const_get(type)
|
|
217
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
218
|
-
end
|
|
219
|
-
end
|
|
220
|
-
|
|
221
|
-
# Returns the string representation of the object
|
|
222
|
-
# @return [String] String presentation of the object
|
|
223
|
-
def to_s
|
|
224
|
-
to_hash.to_s
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
228
|
-
# @return [Hash] Returns the object in the form of hash
|
|
229
|
-
def to_body
|
|
230
|
-
to_hash
|
|
231
|
-
end
|
|
232
|
-
|
|
233
178
|
# Returns the object in the form of hash
|
|
234
179
|
# @return [Hash] Returns the object in the form of hash
|
|
235
180
|
def to_hash
|
|
@@ -246,24 +191,6 @@ module TrinsicApi
|
|
|
246
191
|
hash
|
|
247
192
|
end
|
|
248
193
|
|
|
249
|
-
# Outputs non-array value in the form of hash
|
|
250
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
251
|
-
# @param [Object] value Any valid value
|
|
252
|
-
# @return [Hash] Returns the value in the form of hash
|
|
253
|
-
def _to_hash(value)
|
|
254
|
-
if value.is_a?(Array)
|
|
255
|
-
value.compact.map { |v| _to_hash(v) }
|
|
256
|
-
elsif value.is_a?(Hash)
|
|
257
|
-
{}.tap do |hash|
|
|
258
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
259
|
-
end
|
|
260
|
-
elsif value.respond_to? :to_hash
|
|
261
|
-
value.to_hash
|
|
262
|
-
else
|
|
263
|
-
value
|
|
264
|
-
end
|
|
265
|
-
end
|
|
266
|
-
|
|
267
194
|
end
|
|
268
195
|
|
|
269
196
|
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,8 +14,8 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class KenyaNidLookup2Input
|
|
18
|
-
# The
|
|
17
|
+
class KenyaNidLookup2Input < ApiModelBase
|
|
18
|
+
# The Kenya National ID Number (Nambari ya Kitambulisho) or Unique Personal Identifier (Maisha Namba). This is the primary unique identifier for Kenyan citizens in all government systems, issued by the National Registration Bureau (NRB). The format is either 8 digits for National ID or 9 digits for Maisha Namba UPI (the new format since 2023).
|
|
19
19
|
attr_accessor :id_number
|
|
20
20
|
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -128,61 +128,6 @@ module TrinsicApi
|
|
|
128
128
|
new(transformed_hash)
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
-
# Deserializes the data based on type
|
|
132
|
-
# @param string type Data type
|
|
133
|
-
# @param string value Value to be deserialized
|
|
134
|
-
# @return [Object] Deserialized data
|
|
135
|
-
def self._deserialize(type, value)
|
|
136
|
-
case type.to_sym
|
|
137
|
-
when :Time
|
|
138
|
-
Time.parse(value)
|
|
139
|
-
when :Date
|
|
140
|
-
Date.parse(value)
|
|
141
|
-
when :String
|
|
142
|
-
value.to_s
|
|
143
|
-
when :Integer
|
|
144
|
-
value.to_i
|
|
145
|
-
when :Float
|
|
146
|
-
value.to_f
|
|
147
|
-
when :Boolean
|
|
148
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
149
|
-
true
|
|
150
|
-
else
|
|
151
|
-
false
|
|
152
|
-
end
|
|
153
|
-
when :Object
|
|
154
|
-
# generic object (usually a Hash), return directly
|
|
155
|
-
value
|
|
156
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
157
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
158
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
159
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
160
|
-
k_type = Regexp.last_match[:k_type]
|
|
161
|
-
v_type = Regexp.last_match[:v_type]
|
|
162
|
-
{}.tap do |hash|
|
|
163
|
-
value.each do |k, v|
|
|
164
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
165
|
-
end
|
|
166
|
-
end
|
|
167
|
-
else # model
|
|
168
|
-
# models (e.g. Pet) or oneOf
|
|
169
|
-
klass = TrinsicApi.const_get(type)
|
|
170
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
171
|
-
end
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
# Returns the string representation of the object
|
|
175
|
-
# @return [String] String presentation of the object
|
|
176
|
-
def to_s
|
|
177
|
-
to_hash.to_s
|
|
178
|
-
end
|
|
179
|
-
|
|
180
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
181
|
-
# @return [Hash] Returns the object in the form of hash
|
|
182
|
-
def to_body
|
|
183
|
-
to_hash
|
|
184
|
-
end
|
|
185
|
-
|
|
186
131
|
# Returns the object in the form of hash
|
|
187
132
|
# @return [Hash] Returns the object in the form of hash
|
|
188
133
|
def to_hash
|
|
@@ -199,24 +144,6 @@ module TrinsicApi
|
|
|
199
144
|
hash
|
|
200
145
|
end
|
|
201
146
|
|
|
202
|
-
# Outputs non-array value in the form of hash
|
|
203
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
204
|
-
# @param [Object] value Any valid value
|
|
205
|
-
# @return [Hash] Returns the value in the form of hash
|
|
206
|
-
def _to_hash(value)
|
|
207
|
-
if value.is_a?(Array)
|
|
208
|
-
value.compact.map { |v| _to_hash(v) }
|
|
209
|
-
elsif value.is_a?(Hash)
|
|
210
|
-
{}.tap do |hash|
|
|
211
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
212
|
-
end
|
|
213
|
-
elsif value.respond_to? :to_hash
|
|
214
|
-
value.to_hash
|
|
215
|
-
else
|
|
216
|
-
value
|
|
217
|
-
end
|
|
218
|
-
end
|
|
219
|
-
|
|
220
147
|
end
|
|
221
148
|
|
|
222
149
|
end
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v1
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.
|
|
9
|
+
Generator version: 7.21.0
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
17
|
# Exposed properties for the `kenya-nid-lookup-2` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
-
class KenyaNidLookup2ProviderOutput
|
|
18
|
+
class KenyaNidLookup2ProviderOutput < ApiModelBase
|
|
19
19
|
# The first name (given name) of the ID holder as recorded in IPRS.
|
|
20
20
|
attr_accessor :first_name
|
|
21
21
|
|
|
@@ -34,7 +34,7 @@ module TrinsicApi
|
|
|
34
34
|
# Citizenship status as recorded in the IPRS civil registry database. For the Kenya National ID lookup, this value will always be \"Kenyan\" as the National ID is only issued to Kenyan citizens. Non-citizens residing in Kenya are issued different identification documents (Alien ID cards, refugee documentation, etc.) which are not supported by this provider.
|
|
35
35
|
attr_accessor :citizenship
|
|
36
36
|
|
|
37
|
-
# The Kenya National ID Number (Nambari ya Kitambulisho). This is the primary unique identifier for Kenyan citizens in all government systems, issued by the National Registration Bureau (NRB). The format is
|
|
37
|
+
# The Kenya National ID Number (Nambari ya Kitambulisho) or Unique Personal Identifier (Maisha Namba). This is the primary unique identifier for Kenyan citizens in all government systems, issued by the National Registration Bureau (NRB). The format is either 8 digits for National ID or 9 digits for Maisha Namba UPI (the new format since 2023).
|
|
38
38
|
attr_accessor :id_number
|
|
39
39
|
|
|
40
40
|
# The physical card serial number printed on the Kenya National ID card. This is distinct from the ID Number and serves as a card issuance tracking identifier maintained by IPRS. This value changes each time a new physical card is issued (loss, damage, renewal).
|
|
@@ -335,61 +335,6 @@ module TrinsicApi
|
|
|
335
335
|
new(transformed_hash)
|
|
336
336
|
end
|
|
337
337
|
|
|
338
|
-
# Deserializes the data based on type
|
|
339
|
-
# @param string type Data type
|
|
340
|
-
# @param string value Value to be deserialized
|
|
341
|
-
# @return [Object] Deserialized data
|
|
342
|
-
def self._deserialize(type, value)
|
|
343
|
-
case type.to_sym
|
|
344
|
-
when :Time
|
|
345
|
-
Time.parse(value)
|
|
346
|
-
when :Date
|
|
347
|
-
Date.parse(value)
|
|
348
|
-
when :String
|
|
349
|
-
value.to_s
|
|
350
|
-
when :Integer
|
|
351
|
-
value.to_i
|
|
352
|
-
when :Float
|
|
353
|
-
value.to_f
|
|
354
|
-
when :Boolean
|
|
355
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
356
|
-
true
|
|
357
|
-
else
|
|
358
|
-
false
|
|
359
|
-
end
|
|
360
|
-
when :Object
|
|
361
|
-
# generic object (usually a Hash), return directly
|
|
362
|
-
value
|
|
363
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
364
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
365
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
366
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
367
|
-
k_type = Regexp.last_match[:k_type]
|
|
368
|
-
v_type = Regexp.last_match[:v_type]
|
|
369
|
-
{}.tap do |hash|
|
|
370
|
-
value.each do |k, v|
|
|
371
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
372
|
-
end
|
|
373
|
-
end
|
|
374
|
-
else # model
|
|
375
|
-
# models (e.g. Pet) or oneOf
|
|
376
|
-
klass = TrinsicApi.const_get(type)
|
|
377
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
378
|
-
end
|
|
379
|
-
end
|
|
380
|
-
|
|
381
|
-
# Returns the string representation of the object
|
|
382
|
-
# @return [String] String presentation of the object
|
|
383
|
-
def to_s
|
|
384
|
-
to_hash.to_s
|
|
385
|
-
end
|
|
386
|
-
|
|
387
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
388
|
-
# @return [Hash] Returns the object in the form of hash
|
|
389
|
-
def to_body
|
|
390
|
-
to_hash
|
|
391
|
-
end
|
|
392
|
-
|
|
393
338
|
# Returns the object in the form of hash
|
|
394
339
|
# @return [Hash] Returns the object in the form of hash
|
|
395
340
|
def to_hash
|
|
@@ -406,24 +351,6 @@ module TrinsicApi
|
|
|
406
351
|
hash
|
|
407
352
|
end
|
|
408
353
|
|
|
409
|
-
# Outputs non-array value in the form of hash
|
|
410
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
411
|
-
# @param [Object] value Any valid value
|
|
412
|
-
# @return [Hash] Returns the value in the form of hash
|
|
413
|
-
def _to_hash(value)
|
|
414
|
-
if value.is_a?(Array)
|
|
415
|
-
value.compact.map { |v| _to_hash(v) }
|
|
416
|
-
elsif value.is_a?(Hash)
|
|
417
|
-
{}.tap do |hash|
|
|
418
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
419
|
-
end
|
|
420
|
-
elsif value.respond_to? :to_hash
|
|
421
|
-
value.to_hash
|
|
422
|
-
else
|
|
423
|
-
value
|
|
424
|
-
end
|
|
425
|
-
end
|
|
426
|
-
|
|
427
354
|
end
|
|
428
355
|
|
|
429
356
|
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,8 +14,8 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module TrinsicApi
|
|
17
|
-
class KenyaNidMatch2Input
|
|
18
|
-
# The
|
|
17
|
+
class KenyaNidMatch2Input < ApiModelBase
|
|
18
|
+
# The Kenya National ID Number (Nambari ya Kitambulisho) or Unique Personal Identifier (Maisha Namba). This is the primary unique identifier for Kenyan citizens in all government systems, issued by the National Registration Bureau (NRB). The format is either 8 digits for National ID or 9 digits for Maisha Namba UPI (the new format since 2023).
|
|
19
19
|
attr_accessor :id_number
|
|
20
20
|
|
|
21
21
|
# The user's first name as it appears in their National ID
|
|
@@ -205,61 +205,6 @@ module TrinsicApi
|
|
|
205
205
|
new(transformed_hash)
|
|
206
206
|
end
|
|
207
207
|
|
|
208
|
-
# Deserializes the data based on type
|
|
209
|
-
# @param string type Data type
|
|
210
|
-
# @param string value Value to be deserialized
|
|
211
|
-
# @return [Object] Deserialized data
|
|
212
|
-
def self._deserialize(type, value)
|
|
213
|
-
case type.to_sym
|
|
214
|
-
when :Time
|
|
215
|
-
Time.parse(value)
|
|
216
|
-
when :Date
|
|
217
|
-
Date.parse(value)
|
|
218
|
-
when :String
|
|
219
|
-
value.to_s
|
|
220
|
-
when :Integer
|
|
221
|
-
value.to_i
|
|
222
|
-
when :Float
|
|
223
|
-
value.to_f
|
|
224
|
-
when :Boolean
|
|
225
|
-
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
226
|
-
true
|
|
227
|
-
else
|
|
228
|
-
false
|
|
229
|
-
end
|
|
230
|
-
when :Object
|
|
231
|
-
# generic object (usually a Hash), return directly
|
|
232
|
-
value
|
|
233
|
-
when /\AArray<(?<inner_type>.+)>\z/
|
|
234
|
-
inner_type = Regexp.last_match[:inner_type]
|
|
235
|
-
value.map { |v| _deserialize(inner_type, v) }
|
|
236
|
-
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
237
|
-
k_type = Regexp.last_match[:k_type]
|
|
238
|
-
v_type = Regexp.last_match[:v_type]
|
|
239
|
-
{}.tap do |hash|
|
|
240
|
-
value.each do |k, v|
|
|
241
|
-
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
242
|
-
end
|
|
243
|
-
end
|
|
244
|
-
else # model
|
|
245
|
-
# models (e.g. Pet) or oneOf
|
|
246
|
-
klass = TrinsicApi.const_get(type)
|
|
247
|
-
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
248
|
-
end
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
# Returns the string representation of the object
|
|
252
|
-
# @return [String] String presentation of the object
|
|
253
|
-
def to_s
|
|
254
|
-
to_hash.to_s
|
|
255
|
-
end
|
|
256
|
-
|
|
257
|
-
# to_body is an alias to to_hash (backward compatibility)
|
|
258
|
-
# @return [Hash] Returns the object in the form of hash
|
|
259
|
-
def to_body
|
|
260
|
-
to_hash
|
|
261
|
-
end
|
|
262
|
-
|
|
263
208
|
# Returns the object in the form of hash
|
|
264
209
|
# @return [Hash] Returns the object in the form of hash
|
|
265
210
|
def to_hash
|
|
@@ -276,24 +221,6 @@ module TrinsicApi
|
|
|
276
221
|
hash
|
|
277
222
|
end
|
|
278
223
|
|
|
279
|
-
# Outputs non-array value in the form of hash
|
|
280
|
-
# For object, use to_hash. Otherwise, just return the value
|
|
281
|
-
# @param [Object] value Any valid value
|
|
282
|
-
# @return [Hash] Returns the value in the form of hash
|
|
283
|
-
def _to_hash(value)
|
|
284
|
-
if value.is_a?(Array)
|
|
285
|
-
value.compact.map { |v| _to_hash(v) }
|
|
286
|
-
elsif value.is_a?(Hash)
|
|
287
|
-
{}.tap do |hash|
|
|
288
|
-
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
289
|
-
end
|
|
290
|
-
elsif value.respond_to? :to_hash
|
|
291
|
-
value.to_hash
|
|
292
|
-
else
|
|
293
|
-
value
|
|
294
|
-
end
|
|
295
|
-
end
|
|
296
|
-
|
|
297
224
|
end
|
|
298
225
|
|
|
299
226
|
end
|