- 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
17 KiB
JSON
1 line
17 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_payment_entity_payment_php", "label": "Payment.php", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L1"}, {"id": "entity_payment_payment", "label": "Payment", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L10"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L37"}, {"id": "appointment", "label": "Appointment", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L41"}, {"id": "entity_payment_payment_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L78"}, {"id": "entity_payment_payment_getid", "label": ".getId()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L91"}, {"id": "entity_payment_payment_getuuid", "label": ".getUuid()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L92"}, {"id": "entity_payment_payment_getorderid", "label": ".getOrderId()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L93"}, {"id": "entity_payment_payment_getuser", "label": ".getUser()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L94"}, {"id": "entity_payment_payment_getappointment", "label": ".getAppointment()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L95"}, {"id": "entity_payment_payment_getamountrials", "label": ".getAmountRials()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L96"}, {"id": "entity_payment_payment_getstatus", "label": ".getStatus()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L97"}, {"id": "entity_payment_payment_getgateway", "label": ".getGateway()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L98"}, {"id": "entity_payment_payment_gettype", "label": ".getType()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L99"}, {"id": "entity_payment_payment_getgatewaytoken", "label": ".getGatewayToken()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L100"}, {"id": "entity_payment_payment_getreferenceid", "label": ".getReferenceId()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L101"}, {"id": "entity_payment_payment_getfrontendaddress", "label": ".getFrontendAddress()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L102"}, {"id": "entity_payment_payment_getcallbackip", "label": ".getCallbackIp()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L103"}, {"id": "entity_payment_payment_getmetadata", "label": ".getMetadata()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L104"}, {"id": "entity_payment_payment_setappointment", "label": ".setAppointment()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L106"}, {"id": "self", "label": "self", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L106"}, {"id": "entity_payment_payment_setmetadata", "label": ".setMetadata()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L107"}, {"id": "entity_payment_payment_setgatewaytoken", "label": ".setGatewayToken()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L108"}, {"id": "entity_payment_payment_setreferenceid", "label": ".setReferenceId()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L109"}, {"id": "entity_payment_payment_setstatus", "label": ".setStatus()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L110"}, {"id": "entity_payment_payment_setcallbackip", "label": ".setCallbackIp()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L111"}, {"id": "entity_payment_payment_touch", "label": ".touch()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L113"}, {"id": "entity_payment_payment_toarray", "label": ".toArray()", "file_type": "code", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L115"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_payment_entity_payment_php", "target": "appointment", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_payment_entity_payment_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_payment_entity_payment_php", "target": "mapping", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_payment_entity_payment_php", "target": "uuid", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_payment_entity_payment_php", "target": "entity_payment_payment", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L10", "weight": 1.0}, {"source": "entity_payment_payment", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L37", "weight": 1.0, "context": "field"}, {"source": "entity_payment_payment", "target": "appointment", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L41", "weight": 1.0, "context": "field"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L78", "weight": 1.0}, {"source": "entity_payment_payment_construct", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L78", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L91", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getuuid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L92", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getorderid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L93", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getuser", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L94", "weight": 1.0}, {"source": "entity_payment_payment_getuser", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L94", "weight": 1.0, "context": "return_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getappointment", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L95", "weight": 1.0}, {"source": "entity_payment_payment_getappointment", "target": "appointment", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L95", "weight": 1.0, "context": "return_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getamountrials", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L96", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getstatus", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L97", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getgateway", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L98", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_gettype", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L99", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getgatewaytoken", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L100", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getreferenceid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L101", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getfrontendaddress", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L102", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getcallbackip", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L103", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_getmetadata", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L104", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_setappointment", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L106", "weight": 1.0}, {"source": "entity_payment_payment_setappointment", "target": "appointment", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L106", "weight": 1.0, "context": "parameter_type"}, {"source": "entity_payment_payment_setappointment", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L106", "weight": 1.0, "context": "return_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_setmetadata", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L107", "weight": 1.0}, {"source": "entity_payment_payment_setmetadata", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L107", "weight": 1.0, "context": "return_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_setgatewaytoken", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L108", "weight": 1.0}, {"source": "entity_payment_payment_setgatewaytoken", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L108", "weight": 1.0, "context": "return_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_setreferenceid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L109", "weight": 1.0}, {"source": "entity_payment_payment_setreferenceid", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L109", "weight": 1.0, "context": "return_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_setstatus", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L110", "weight": 1.0}, {"source": "entity_payment_payment_setstatus", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L110", "weight": 1.0, "context": "return_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_setcallbackip", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L111", "weight": 1.0}, {"source": "entity_payment_payment_setcallbackip", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L111", "weight": 1.0, "context": "return_type"}, {"source": "entity_payment_payment", "target": "entity_payment_payment_touch", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L113", "weight": 1.0}, {"source": "entity_payment_payment", "target": "entity_payment_payment_toarray", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L115", "weight": 1.0}, {"source": "entity_payment_payment_setmetadata", "target": "entity_payment_payment_touch", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L107", "weight": 1.0}, {"source": "entity_payment_payment_setgatewaytoken", "target": "entity_payment_payment_touch", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L108", "weight": 1.0}, {"source": "entity_payment_payment_setreferenceid", "target": "entity_payment_payment_touch", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L109", "weight": 1.0}, {"source": "entity_payment_payment_setstatus", "target": "entity_payment_payment_touch", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L110", "weight": 1.0}, {"source": "entity_payment_payment_setcallbackip", "target": "entity_payment_payment_touch", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Payment/Entity/Payment.php", "source_location": "L111", "weight": 1.0}], "raw_calls": [{"caller_nid": "entity_payment_payment_construct", "callee": "toRfc4122", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L80", "receiver": null}, {"caller_nid": "entity_payment_payment_construct", "callee": "Uuid", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L80", "receiver": null}, {"caller_nid": "entity_payment_payment_construct", "callee": "strtoupper", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L81", "receiver": null}, {"caller_nid": "entity_payment_payment_construct", "callee": "substr", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L81", "receiver": null}, {"caller_nid": "entity_payment_payment_construct", "callee": "str_replace", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L81", "receiver": null}, {"caller_nid": "entity_payment_payment_construct", "callee": "toRfc4122", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L81", "receiver": null}, {"caller_nid": "entity_payment_payment_construct", "callee": "Uuid", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L81", "receiver": null}, {"caller_nid": "entity_payment_payment_construct", "callee": "time", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L87", "receiver": null}, {"caller_nid": "entity_payment_payment_construct", "callee": "time", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L88", "receiver": null}, {"caller_nid": "entity_payment_payment_touch", "callee": "time", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Payment/Entity/Payment.php", "source_location": "L113", "receiver": null}]} |