Files
clinicpro/graphify-out/cache/ast/v0.8.44/e9d63073d11ef51c3cc5bf4010394485ae27190d29b5997edbd5ade0f9a14617.json
T
hamed 0750bc9812 feat: add multi-city representation support and domain context resolution
- 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.
2026-07-09 07:26:58 +03:30

1 line
15 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_docs_api_payment_md", "label": "payment.md", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L1"}, {"id": "api_payment_payment_api", "label": "Payment API", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L1"}, {"id": "api_payment_\u0645\u0639\u0645\u0627\u0631\u06cc_flow_\u0645\u0633\u0626\u0648\u0644\u06cc\u062a_\u0647\u0627", "label": "\u0645\u0639\u0645\u0627\u0631\u06cc (Flow & \u0645\u0633\u0626\u0648\u0644\u06cc\u062a\u200c\u0647\u0627)", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L8"}, {"id": "api_payment_get_api_v1_payment_config", "label": "GET `/api/v1/payment/config`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L90"}, {"id": "api_payment_response_200", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L96"}, {"id": "api_payment_get_api_v1_my_payments", "label": "GET `/api/v1/my/payments`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L122"}, {"id": "api_payment_query_parameters", "label": "Query Parameters", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L128"}, {"id": "api_payment_response_200_paginated", "label": "Response `200` (paginated)", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L135"}, {"id": "api_payment_errors", "label": "Errors", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L158"}, {"id": "api_payment_post_api_v1_payment_appointment", "label": "POST `/api/v1/payment/appointment`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L165"}, {"id": "api_payment_request_body_application_json", "label": "Request Body (`application/json`)", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L171"}, {"id": "api_payment_response_200_186", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L186"}, {"id": "api_payment_errors_206", "label": "Errors", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L206"}, {"id": "api_payment_get_api_v1_payment_order_appointmentuuid", "label": "GET `/api/v1/payment/order/{appointmentUuid}`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L217"}, {"id": "api_payment_query_parameters_223", "label": "Query Parameters", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L223"}, {"id": "api_payment_\u0631\u0641\u062a\u0627\u0631", "label": "\u0631\u0641\u062a\u0627\u0631", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L229"}, {"id": "api_payment_\u0627\u0645\u0646\u06cc\u062a_\u0645\u0627\u0644\u06a9\u06cc\u062a", "label": "\u0627\u0645\u0646\u06cc\u062a \u0645\u0627\u0644\u06a9\u06cc\u062a", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L236"}, {"id": "api_payment_get_api_v1_payment_pay_orderid", "label": "GET `/api/v1/payment/pay/{orderId}`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L243"}, {"id": "api_payment_path_parameters", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L247"}, {"id": "api_payment_\u0631\u0641\u062a\u0627\u0631_252", "label": "\u0631\u0641\u062a\u0627\u0631", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L252"}, {"id": "api_payment_permission", "label": "Permission", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L262"}, {"id": "api_payment_post_api_v1_payment_callback_gateway", "label": "POST `/api/v1/payment/callback/{gateway}`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L267"}, {"id": "api_payment_get_api_v1_payment_callback_gateway", "label": "GET `/api/v1/payment/callback/{gateway}`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L268"}, {"id": "api_payment_path_parameters_280", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L280"}, {"id": "api_payment_request_varies_by_gateway", "label": "Request (varies by gateway)", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L285"}, {"id": "api_payment_response", "label": "Response", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L296"}, {"id": "api_payment_notes", "label": "Notes", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L309"}, {"id": "api_payment_post_api_v1_subscription_payment", "label": "POST `/api/v1/subscription-payment`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L316"}, {"id": "api_payment_request_body", "label": "Request Body", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L322"}, {"id": "api_payment_response_200_337", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L337"}, {"id": "api_payment_errors_351", "label": "Errors", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L351"}, {"id": "api_payment_post_get_api_v1_subscription_payment_callback_gateway", "label": "POST/GET `/api/v1/subscription-payment/callback/{gateway}`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L360"}, {"id": "api_payment_get_api_v1_payment_uuid", "label": "GET `/api/v1/payment/{uuid}`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L368"}, {"id": "api_payment_path_parameters_374", "label": "Path Parameters", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L374"}, {"id": "api_payment_response_200_379", "label": "Response `200`", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L379"}, {"id": "api_payment_errors_408", "label": "Errors", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L408"}, {"id": "api_payment_sandbox_test_mode_origin_allowlist", "label": "Sandbox (test) mode & origin allowlist", "file_type": "document", "source_file": "docs/api/payment.md", "source_location": "L417"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_docs_api_payment_md", "target": "api_payment_payment_api", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L1", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_\u0645\u0639\u0645\u0627\u0631\u06cc_flow_\u0645\u0633\u0626\u0648\u0644\u06cc\u062a_\u0647\u0627", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L8", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_get_api_v1_payment_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L90", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_config", "target": "api_payment_response_200", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L96", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_get_api_v1_my_payments", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L122", "weight": 1.0}, {"source": "api_payment_get_api_v1_my_payments", "target": "api_payment_query_parameters", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L128", "weight": 1.0}, {"source": "api_payment_get_api_v1_my_payments", "target": "api_payment_response_200_paginated", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L135", "weight": 1.0}, {"source": "api_payment_get_api_v1_my_payments", "target": "api_payment_errors", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L158", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_post_api_v1_payment_appointment", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L165", "weight": 1.0}, {"source": "api_payment_post_api_v1_payment_appointment", "target": "api_payment_request_body_application_json", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L171", "weight": 1.0}, {"source": "api_payment_post_api_v1_payment_appointment", "target": "api_payment_response_200_186", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L186", "weight": 1.0}, {"source": "api_payment_post_api_v1_payment_appointment", "target": "api_payment_errors_206", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L206", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_get_api_v1_payment_order_appointmentuuid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L217", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_order_appointmentuuid", "target": "api_payment_query_parameters_223", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L223", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_order_appointmentuuid", "target": "api_payment_\u0631\u0641\u062a\u0627\u0631", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L229", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_order_appointmentuuid", "target": "api_payment_\u0627\u0645\u0646\u06cc\u062a_\u0645\u0627\u0644\u06a9\u06cc\u062a", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L236", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_get_api_v1_payment_pay_orderid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L243", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_pay_orderid", "target": "api_payment_path_parameters", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L247", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_pay_orderid", "target": "api_payment_\u0631\u0641\u062a\u0627\u0631_252", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L252", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_pay_orderid", "target": "api_payment_permission", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L262", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_post_api_v1_payment_callback_gateway", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L267", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_get_api_v1_payment_callback_gateway", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L268", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_callback_gateway", "target": "api_payment_path_parameters_280", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L280", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_callback_gateway", "target": "api_payment_request_varies_by_gateway", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L285", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_callback_gateway", "target": "api_payment_response", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L296", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_callback_gateway", "target": "api_payment_notes", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L309", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_post_api_v1_subscription_payment", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L316", "weight": 1.0}, {"source": "api_payment_post_api_v1_subscription_payment", "target": "api_payment_request_body", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L322", "weight": 1.0}, {"source": "api_payment_post_api_v1_subscription_payment", "target": "api_payment_response_200_337", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L337", "weight": 1.0}, {"source": "api_payment_post_api_v1_subscription_payment", "target": "api_payment_errors_351", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L351", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_post_get_api_v1_subscription_payment_callback_gateway", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L360", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_get_api_v1_payment_uuid", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L368", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_uuid", "target": "api_payment_path_parameters_374", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L374", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_uuid", "target": "api_payment_response_200_379", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L379", "weight": 1.0}, {"source": "api_payment_get_api_v1_payment_uuid", "target": "api_payment_errors_408", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L408", "weight": 1.0}, {"source": "api_payment_payment_api", "target": "api_payment_sandbox_test_mode_origin_allowlist", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/api/payment.md", "source_location": "L417", "weight": 1.0}], "input_tokens": 0, "output_tokens": 0}