- Created migration to add representation_cities table and domain, is_global fields to representations. - Implemented SiteContextController to resolve domain to site context (city | representation | unknown). - Developed DomainContext and DomainContextResolver services for domain mapping. - Added tests for DomainContextResolver and commission logic based on domain ownership.
1 line
19 KiB
JSON
1 line
19 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_docs_api_doctor_md", "label": "doctor.md", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L1"}, {"id": "api_doctor_doctor_api", "label": "Doctor API", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L1"}, {"id": "api_doctor_post_api_v1_doctor", "label": "POST `/api/v1/doctor`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L9"}, {"id": "api_doctor_request_body_application_json", "label": "Request Body (`application/json`)", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L15"}, {"id": "api_doctor_response_201", "label": "Response `201`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L39"}, {"id": "api_doctor_errors", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L59"}, {"id": "api_doctor_get_api_v1_doctor_uuid", "label": "GET `/api/v1/doctor/{uuid}`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L68"}, {"id": "api_doctor_path_parameters", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L74"}, {"id": "api_doctor_response_200", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L79"}, {"id": "api_doctor_errors_117", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L117"}, {"id": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "label": "GET `/api/v1/clinic/my-doctor/{doctorUuid}`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L124"}, {"id": "api_doctor_path_parameters_130", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L130"}, {"id": "api_doctor_response_200_135", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L135"}, {"id": "api_doctor_errors_154", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L154"}, {"id": "api_doctor_schedule_fields_notes", "label": "Schedule Fields Notes", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L162"}, {"id": "api_doctor_get_api_v1_doctors", "label": "GET `/api/v1/doctors`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L174"}, {"id": "api_doctor_query_parameters", "label": "Query Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L180"}, {"id": "api_doctor_response_200_191", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L191"}, {"id": "api_doctor_patch_api_v1_doctor_uuid", "label": "PATCH `/api/v1/doctor/{uuid}`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L220"}, {"id": "api_doctor_path_parameters_226", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L226"}, {"id": "api_doctor_request_body_application_json_231", "label": "Request Body (`application/json`)", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L231"}, {"id": "api_doctor_response_200_250", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L250"}, {"id": "api_doctor_errors_253", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L253"}, {"id": "api_doctor_delete_api_v1_doctor_uuid", "label": "DELETE `/api/v1/doctor/{uuid}`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L262"}, {"id": "api_doctor_path_parameters_270", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L270"}, {"id": "api_doctor_response_200_275", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L275"}, {"id": "api_doctor_errors_283", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L283"}, {"id": "api_doctor_post_file_upload_clinic_pro_doctor_field_image", "label": "POST `/file/upload/clinic_pro/doctor/field_image`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L292"}, {"id": "api_doctor_request", "label": "Request", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L298"}, {"id": "api_doctor_response_200_305", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L305"}, {"id": "api_doctor_errors_319", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L319"}, {"id": "api_doctor_get_api_v1_clinic_pro_doctor_addresses_doctorid", "label": "GET `/api/v1/clinic-pro/doctor-addresses/{doctorId}`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L327"}, {"id": "api_doctor_path_parameters_333", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L333"}, {"id": "api_doctor_response_200_338", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L338"}, {"id": "api_doctor_post_api_v1_clinic_pro_doctor_address", "label": "POST `/api/v1/clinic-pro/doctor-address`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L377"}, {"id": "api_doctor_request_body", "label": "Request Body", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L383"}, {"id": "api_doctor_response_201_406", "label": "Response `201`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L406"}, {"id": "api_doctor_errors_421", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L421"}, {"id": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "label": "PATCH `/api/v1/clinic-pro/doctor-address/{id}`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L430"}, {"id": "api_doctor_path_parameters_436", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L436"}, {"id": "api_doctor_request_body_441", "label": "Request Body", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L441"}, {"id": "api_doctor_response_200_444", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L444"}, {"id": "api_doctor_errors_447", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L447"}, {"id": "api_doctor_delete_api_v1_clinic_pro_doctor_address_id", "label": "DELETE `/api/v1/clinic-pro/doctor-address/{id}`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L456"}, {"id": "api_doctor_response_200_462", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L462"}, {"id": "api_doctor_errors_467", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L467"}, {"id": "api_doctor_post_api_v1_clinic_pro_doctor_address_from_clinic_clinicuuid", "label": "POST `/api/v1/clinic-pro/doctor-address/from-clinic/{clinicUuid}`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L476"}, {"id": "api_doctor_path_parameters_482", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L482"}, {"id": "api_doctor_response_201_487", "label": "Response `201`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L487"}, {"id": "api_doctor_errors_490", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L490"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_docs_api_doctor_md", "target": "api_doctor_doctor_api", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L1", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_post_api_v1_doctor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L9", "weight": 1.0}, {"source": "api_doctor_post_api_v1_doctor", "target": "api_doctor_request_body_application_json", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L15", "weight": 1.0}, {"source": "api_doctor_post_api_v1_doctor", "target": "api_doctor_response_201", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L39", "weight": 1.0}, {"source": "api_doctor_post_api_v1_doctor", "target": "api_doctor_errors", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L59", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_get_api_v1_doctor_uuid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L68", "weight": 1.0}, {"source": "api_doctor_get_api_v1_doctor_uuid", "target": "api_doctor_path_parameters", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L74", "weight": 1.0}, {"source": "api_doctor_get_api_v1_doctor_uuid", "target": "api_doctor_response_200", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L79", "weight": 1.0}, {"source": "api_doctor_get_api_v1_doctor_uuid", "target": "api_doctor_errors_117", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L117", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L124", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "target": "api_doctor_path_parameters_130", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L130", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "target": "api_doctor_response_200_135", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L135", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "target": "api_doctor_errors_154", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L154", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "target": "api_doctor_schedule_fields_notes", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L162", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_get_api_v1_doctors", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L174", "weight": 1.0}, {"source": "api_doctor_get_api_v1_doctors", "target": "api_doctor_query_parameters", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L180", "weight": 1.0}, {"source": "api_doctor_get_api_v1_doctors", "target": "api_doctor_response_200_191", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L191", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_patch_api_v1_doctor_uuid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L220", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_doctor_uuid", "target": "api_doctor_path_parameters_226", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L226", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_doctor_uuid", "target": "api_doctor_request_body_application_json_231", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L231", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_doctor_uuid", "target": "api_doctor_response_200_250", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L250", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_doctor_uuid", "target": "api_doctor_errors_253", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L253", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_delete_api_v1_doctor_uuid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L262", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_doctor_uuid", "target": "api_doctor_path_parameters_270", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L270", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_doctor_uuid", "target": "api_doctor_response_200_275", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L275", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_doctor_uuid", "target": "api_doctor_errors_283", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L283", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_post_file_upload_clinic_pro_doctor_field_image", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L292", "weight": 1.0}, {"source": "api_doctor_post_file_upload_clinic_pro_doctor_field_image", "target": "api_doctor_request", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L298", "weight": 1.0}, {"source": "api_doctor_post_file_upload_clinic_pro_doctor_field_image", "target": "api_doctor_response_200_305", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L305", "weight": 1.0}, {"source": "api_doctor_post_file_upload_clinic_pro_doctor_field_image", "target": "api_doctor_errors_319", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L319", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_get_api_v1_clinic_pro_doctor_addresses_doctorid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L327", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_pro_doctor_addresses_doctorid", "target": "api_doctor_path_parameters_333", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L333", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_pro_doctor_addresses_doctorid", "target": "api_doctor_response_200_338", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L338", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_post_api_v1_clinic_pro_doctor_address", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L377", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address", "target": "api_doctor_request_body", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L383", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address", "target": "api_doctor_response_201_406", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L406", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address", "target": "api_doctor_errors_421", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L421", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L430", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_path_parameters_436", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L436", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_request_body_441", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L441", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_response_200_444", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L444", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_errors_447", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L447", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_delete_api_v1_clinic_pro_doctor_address_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L456", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_response_200_462", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L462", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_errors_467", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L467", "weight": 1.0}, {"source": "api_doctor_doctor_api", "target": "api_doctor_post_api_v1_clinic_pro_doctor_address_from_clinic_clinicuuid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L476", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address_from_clinic_clinicuuid", "target": "api_doctor_path_parameters_482", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L482", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address_from_clinic_clinicuuid", "target": "api_doctor_response_201_487", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L487", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address_from_clinic_clinicuuid", "target": "api_doctor_errors_490", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L490", "weight": 1.0}], "input_tokens": 0, "output_tokens": 0} |