- 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
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": "L7"}, {"id": "api_doctor_request_body_application_json", "label": "Request Body (`application/json`)", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L13"}, {"id": "api_doctor_response_201", "label": "Response `201`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L36"}, {"id": "api_doctor_errors", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L56"}, {"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": "L65"}, {"id": "api_doctor_path_parameters", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L71"}, {"id": "api_doctor_response_200", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L76"}, {"id": "api_doctor_errors_114", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L114"}, {"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": "L121"}, {"id": "api_doctor_path_parameters_127", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L127"}, {"id": "api_doctor_response_200_132", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L132"}, {"id": "api_doctor_errors_151", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L151"}, {"id": "api_doctor_schedule_fields_notes", "label": "Schedule Fields Notes", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L159"}, {"id": "api_doctor_get_api_v1_doctors", "label": "GET `/api/v1/doctors`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L171"}, {"id": "api_doctor_query_parameters", "label": "Query Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L177"}, {"id": "api_doctor_response_200_187", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L187"}, {"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": "L216"}, {"id": "api_doctor_path_parameters_222", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L222"}, {"id": "api_doctor_request_body_application_json_227", "label": "Request Body (`application/json`)", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L227"}, {"id": "api_doctor_response_200_246", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L246"}, {"id": "api_doctor_errors_249", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L249"}, {"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": "L258"}, {"id": "api_doctor_path_parameters_264", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L264"}, {"id": "api_doctor_response_200_269", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L269"}, {"id": "api_doctor_errors_277", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L277"}, {"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": "L286"}, {"id": "api_doctor_request", "label": "Request", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L292"}, {"id": "api_doctor_response_200_299", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L299"}, {"id": "api_doctor_errors_313", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L313"}, {"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": "L321"}, {"id": "api_doctor_path_parameters_327", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L327"}, {"id": "api_doctor_response_200_332", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L332"}, {"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": "L371"}, {"id": "api_doctor_request_body", "label": "Request Body", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L377"}, {"id": "api_doctor_response_201_400", "label": "Response `201`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L400"}, {"id": "api_doctor_errors_415", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L415"}, {"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": "L424"}, {"id": "api_doctor_path_parameters_430", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L430"}, {"id": "api_doctor_request_body_435", "label": "Request Body", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L435"}, {"id": "api_doctor_response_200_438", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L438"}, {"id": "api_doctor_errors_441", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L441"}, {"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": "L450"}, {"id": "api_doctor_response_200_456", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L456"}, {"id": "api_doctor_errors_461", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L461"}, {"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": "L470"}, {"id": "api_doctor_path_parameters_476", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L476"}, {"id": "api_doctor_response_201_481", "label": "Response `201`", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L481"}, {"id": "api_doctor_errors_484", "label": "Errors", "file_type": "document", "source_file": "docs/api/doctor.md", "source_location": "L484"}], "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": "L7", "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": "L13", "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": "L36", "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": "L56", "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": "L65", "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": "L71", "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": "L76", "weight": 1.0}, {"source": "api_doctor_get_api_v1_doctor_uuid", "target": "api_doctor_errors_114", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L114", "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": "L121", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "target": "api_doctor_path_parameters_127", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L127", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "target": "api_doctor_response_200_132", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L132", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_my_doctor_doctoruuid", "target": "api_doctor_errors_151", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L151", "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": "L159", "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": "L171", "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": "L177", "weight": 1.0}, {"source": "api_doctor_get_api_v1_doctors", "target": "api_doctor_response_200_187", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L187", "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": "L216", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_doctor_uuid", "target": "api_doctor_path_parameters_222", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L222", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_doctor_uuid", "target": "api_doctor_request_body_application_json_227", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L227", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_doctor_uuid", "target": "api_doctor_response_200_246", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L246", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_doctor_uuid", "target": "api_doctor_errors_249", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L249", "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": "L258", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_doctor_uuid", "target": "api_doctor_path_parameters_264", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L264", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_doctor_uuid", "target": "api_doctor_response_200_269", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L269", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_doctor_uuid", "target": "api_doctor_errors_277", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L277", "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": "L286", "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": "L292", "weight": 1.0}, {"source": "api_doctor_post_file_upload_clinic_pro_doctor_field_image", "target": "api_doctor_response_200_299", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L299", "weight": 1.0}, {"source": "api_doctor_post_file_upload_clinic_pro_doctor_field_image", "target": "api_doctor_errors_313", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L313", "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": "L321", "weight": 1.0}, {"source": "api_doctor_get_api_v1_clinic_pro_doctor_addresses_doctorid", "target": "api_doctor_path_parameters_327", "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_response_200_332", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L332", "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": "L371", "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": "L377", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address", "target": "api_doctor_response_201_400", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L400", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address", "target": "api_doctor_errors_415", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L415", "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": "L424", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_path_parameters_430", "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_request_body_435", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L435", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_response_200_438", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L438", "weight": 1.0}, {"source": "api_doctor_patch_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_errors_441", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L441", "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": "L450", "weight": 1.0}, {"source": "api_doctor_delete_api_v1_clinic_pro_doctor_address_id", "target": "api_doctor_response_200_456", "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_errors_461", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L461", "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": "L470", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address_from_clinic_clinicuuid", "target": "api_doctor_path_parameters_476", "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_response_201_481", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L481", "weight": 1.0}, {"source": "api_doctor_post_api_v1_clinic_pro_doctor_address_from_clinic_clinicuuid", "target": "api_doctor_errors_484", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/doctor.md", "source_location": "L484", "weight": 1.0}], "input_tokens": 0, "output_tokens": 0} |