- Created a new JSON file containing nodes and edges representing the structure of the insurance API documentation. - The nodes include various API endpoints, their labels, file types, and source locations. - The edges define relationships between the nodes, indicating how they are connected within the documentation.
1 line
21 KiB
JSON
1 line
21 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": "L66"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_assertactive", "label": ".assertActive()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L75"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "label": ".coverageRule()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L88"}, {"id": "coveragerule", "label": "CoverageRule", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L88"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "label": ".coverageRuleForService()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L111"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_getservicecoverage", "label": ".getServiceCoverage()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L142"}, {"id": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "label": ".setServiceCoverage()", "file_type": "code", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L148"}], "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": "L66", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_deactivate", "target": "tenantinsurance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L66", "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": "L75", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_assertactive", "target": "tenantinsurance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L75", "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": "L88", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_coveragerule", "target": "coveragerule", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L88", "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": "L111", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_coverageruleforservice", "target": "coveragerule", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L111", "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": "L142", "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": "L148", "weight": 1.0}, {"source": "service_tenantinsuranceservice_tenantinsuranceservice_setservicecoverage", "target": "tenantinsurance", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Insurance/Service/TenantInsuranceService.php", "source_location": "L148", "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": "L91", "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": "L114", "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": "L38", "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": "L43", "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": "L45", "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": "L49", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "setEffectiveTo", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L49", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "setKind", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L49", "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": "L49", "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": "L49", "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": "L49", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "getType", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L53", "receiver": null}, {"caller_nid": "service_tenantinsuranceservice_tenantinsuranceservice_activate", "callee": "setEffectiveFrom", "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_activate", "callee": "save", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Insurance/Service/TenantInsuranceService.php", "source_location": "L61", "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": "L68", "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": "L68", "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": "L68", "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": "L69", "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": "L77", "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": "L94", "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": "L100", "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": "L101", "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": "L102", "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": "L118", "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": "L119", "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": "L123", "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": "L128", "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": "L128", "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": "L129", "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": "L134", "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": "L135", "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": "L136", "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": "L144", "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": "L156", "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": "L156", "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": "L157", "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": "L159", "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": "L159", "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": "L159", "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": "L159", "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": "L164", "receiver": null}]} |