- Added a new column `national_code_verified` to the `users` table. - Normalized the `bank_account` field in the `representations` table from a single object to an array of IBANs with a default `verified` status of false. feat(ApiIrService): implement identity verification client for api.ir - Created `ApiIrService` to handle identity verification via api.ir. - Implemented methods for matching national code with mobile and IBAN with national code and birth date. - Added error handling and logging for external API requests.
1 line
22 KiB
JSON
1 line
22 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientsessionrepository_php", "label": "PatientSessionRepository.php", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L1"}, {"id": "repository_patientsessionrepository_patientsessionrepository", "label": "PatientSessionRepository", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L10"}, {"id": "serviceentityrepository", "label": "ServiceEntityRepository", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "repository_patientsessionrepository_patientsessionrepository_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L12"}, {"id": "managerregistry", "label": "ManagerRegistry", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L12"}, {"id": "repository_patientsessionrepository_patientsessionrepository_findbyuuid", "label": ".findByUuid()", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L17"}, {"id": "patientsession", "label": "PatientSession", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L17"}, {"id": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "label": ".findByRecord()", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L22"}, {"id": "patientrecord", "label": "PatientRecord", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L22"}, {"id": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "label": ".countByRecord()", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L34"}, {"id": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "label": ".sumRevenue()", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L44"}, {"id": "repository_patientsessionrepository_patientsessionrepository_save", "label": ".save()", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L62"}, {"id": "repository_patientsessionrepository_patientsessionrepository_datesforids", "label": ".datesForIds()", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L73"}, {"id": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "label": ".patientInfoForIds()", "file_type": "code", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L98"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientsessionrepository_php", "target": "patientrecord", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientsessionrepository_php", "target": "patientsession", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientsessionrepository_php", "target": "serviceentityrepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientsessionrepository_php", "target": "managerregistry", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_patient_repository_patientsessionrepository_php", "target": "repository_patientsessionrepository_patientsessionrepository", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L10", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "serviceentityrepository", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L10", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "repository_patientsessionrepository_patientsessionrepository_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L12", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository_construct", "target": "managerregistry", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L12", "weight": 1.0, "context": "parameter_type"}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "repository_patientsessionrepository_patientsessionrepository_findbyuuid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L17", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository_findbyuuid", "target": "patientsession", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L17", "weight": 1.0, "context": "return_type"}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L22", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "target": "patientrecord", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L22", "weight": 1.0, "context": "parameter_type"}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L34", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "target": "patientrecord", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L34", "weight": 1.0, "context": "parameter_type"}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L44", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "repository_patientsessionrepository_patientsessionrepository_save", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L62", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository_save", "target": "patientsession", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L62", "weight": 1.0, "context": "parameter_type"}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "repository_patientsessionrepository_patientsessionrepository_datesforids", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L73", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository", "target": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L98", "weight": 1.0}, {"source": "repository_patientsessionrepository_patientsessionrepository_construct", "target": "patientsession", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "src/Patient/Repository/PatientSessionRepository.php", "source_location": "L14", "weight": 1.0}], "raw_calls": [{"caller_nid": "repository_patientsessionrepository_patientsessionrepository_construct", "callee": "parent", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L14", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyuuid", "callee": "findOneBy", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L19", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "callee": "getResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "callee": "getQuery", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "callee": "setMaxResults", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "callee": "setFirstResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "callee": "orderBy", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "callee": "where", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_findbyrecord", "callee": "createQueryBuilder", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L24", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "callee": "getSingleScalarResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L36", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "callee": "getQuery", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L36", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L36", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "callee": "where", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L36", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "callee": "select", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L36", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_countbyrecord", "callee": "createQueryBuilder", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L36", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "getSingleScalarResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "getQuery", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "andWhere", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "andWhere", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "where", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "join", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "select", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_sumrevenue", "callee": "createQueryBuilder", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L46", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_save", "callee": "persist", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L64", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_save", "callee": "getEntityManager", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L64", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_save", "callee": "flush", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L65", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_save", "callee": "getEntityManager", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L65", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_datesforids", "callee": "getArrayResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L79", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_datesforids", "callee": "getQuery", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L79", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_datesforids", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L79", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_datesforids", "callee": "where", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L79", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_datesforids", "callee": "select", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L79", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_datesforids", "callee": "createQueryBuilder", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L79", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "callee": "getArrayResult", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L104", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "callee": "getQuery", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L104", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "callee": "setParameter", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L104", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "callee": "where", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L104", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "callee": "join", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L104", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "callee": "join", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L104", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "callee": "select", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L104", "receiver": null}, {"caller_nid": "repository_patientsessionrepository_patientsessionrepository_patientinfoforids", "callee": "createQueryBuilder", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Patient/Repository/PatientSessionRepository.php", "source_location": "L104", "receiver": null}]} |