- 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
20 KiB
JSON
1 line
20 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "label": "TenantInsuranceService.php", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L1"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice", "label": "TenantInsuranceService", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L14"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L16"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "label": ".activate()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L27"}, {"id": "tenantinsurance", "label": "TenantInsurance", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L27"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_deactivate", "label": ".deactivate()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L55"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_assertactive", "label": ".assertActive()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L64"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "label": ".coverageRule()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L77"}, {"id": "coveragerule", "label": "CoverageRule", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L77"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "label": ".coverageRuleForService()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L100"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_getservicecoverage", "label": ".getServiceCoverage()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L131"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "label": ".setServiceCoverage()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L137"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "serviceitemrepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "tenantinsurance", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "insurancerepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "tenantinsurancerepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "tenantservicecoveragerepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "coveragerule", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L10", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "errorcodes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L11", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "appexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L12", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_insurance_service_tenantinsuranceservice_php", "target": "service_tenantinsuranceservice_tenantinsuranceservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L14", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice", "target": "service_tenantinsuranceservice_tenantinsuranceservice_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L16", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice", "target": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L27", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "target": "tenantinsurance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L27", "weight": 1.0, "context": "return_type"}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice", "target": "service_tenantinsuranceservice_tenantinsuranceservice_deactivate", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L55", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_deactivate", "target": "tenantinsurance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L55", "weight": 1.0, "context": "parameter_type"}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice", "target": "service_tenantinsuranceservice_tenantinsuranceservice_assertactive", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L64", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_assertactive", "target": "tenantinsurance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L64", "weight": 1.0, "context": "return_type"}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice", "target": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L77", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "target": "coveragerule", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L77", "weight": 1.0, "context": "return_type"}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice", "target": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L100", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "target": "coveragerule", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L100", "weight": 1.0, "context": "return_type"}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice", "target": "service_tenantinsuranceservice_tenantinsuranceservice_getservicecoverage", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L131", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice", "target": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L137", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "target": "tenantinsurance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L137", "weight": 1.0, "context": "parameter_type"}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "target": "coveragerule", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L80", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "target": "coveragerule", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L103", "weight": 1.0}], "raw_calls": [{"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "find", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L35", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "findActiveContract", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L39", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "latestVersion", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L41", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "setActive", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L45", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "setAnnualCeilingRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L45", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "setFranchiseRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L45", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "setCoveragePercent", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L45", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "save", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L50", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_deactivate", "callee": "setEffectiveTo", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L57", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_deactivate", "callee": "setActive", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L57", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_deactivate", "callee": "time", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L57", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_deactivate", "callee": "save", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L58", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_assertactive", "callee": "findActiveContract", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L66", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "callee": "findActiveContract", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L83", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "callee": "getCoveragePercent", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L89", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "callee": "getFranchiseRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L90", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "callee": "getAnnualCeilingRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L91", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "find", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L107", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "isInsuranceCovered", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L108", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "findActiveContract", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L112", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "findOneFor", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L117", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L117", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "isCovered", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L118", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "getCoveragePercent", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L123", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "getFranchiseRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L124", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "callee": "getAnnualCeilingRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L125", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_getservicecoverage", "callee": "findOneFor", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L133", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "callee": "findOneFor", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L145", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L145", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "callee": "getId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L146", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "callee": "setCeilingRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L148", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "callee": "setFranchiseRials", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L148", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "callee": "setCoveragePercent", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L148", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "callee": "setCovered", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L148", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "callee": "save", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L153", "receiver": null}]} |