- 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
7.7 KiB
JSON
1 line
7.7 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "label": "ApiIrService.php", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L1"}, {"id": "service_apiirservice_apiirservice", "label": "ApiIrService", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L22"}, {"id": "service_apiirservice_apiirservice_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L24"}, {"id": "service_apiirservice_apiirservice_isconfigured", "label": ".isConfigured()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L31"}, {"id": "service_apiirservice_apiirservice_shahkarmatch", "label": ".shahkarMatch()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L39"}, {"id": "service_apiirservice_apiirservice_ibanmatch", "label": ".ibanMatch()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L54"}, {"id": "service_apiirservice_apiirservice_post", "label": ".post()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L74"}, {"id": "service_apiirservice_apiirservice_extractmatched", "label": ".extractMatched()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L106"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "errorcodes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "appexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "loggerinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "httpclientinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "service_apiirservice_apiirservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L22", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L24", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_isconfigured", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L31", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_shahkarmatch", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L39", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_ibanmatch", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L54", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_post", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L74", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_extractmatched", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L106", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_shahkarmatch", "target": "service_apiirservice_apiirservice_post", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L41", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_shahkarmatch", "target": "service_apiirservice_apiirservice_extractmatched", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L46", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_ibanmatch", "target": "service_apiirservice_apiirservice_post", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L56", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_ibanmatch", "target": "service_apiirservice_apiirservice_extractmatched", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L64", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_post", "target": "service_apiirservice_apiirservice_isconfigured", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L76", "weight": 1.0}], "raw_calls": [{"caller_nid": "service_apiirservice_apiirservice_post", "callee": "request", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L81", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "rtrim", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L81", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "getStatusCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L87", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "toArray", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L92", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "error", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L96", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "getMessage", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L96", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_extractmatched", "callee": "isset", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L111", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_extractmatched", "callee": "filter_var", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L112", "receiver": null}]} |