{"openapi":"3.0.3","info":{"title":"Accuracy-first","version":"3.0.0","description":"Converted from Postman collection. Global Bearer authorization and JSON media types are configured for Swagger UI testing."},"servers":[{"url":"https://backend.accuracyfirst.com/api/v1","description":"Production / Base API"},{"url":"https://eldridge-oophytic-distractedly.ngrok-free.dev/api/v1","description":"Development / ngrok API"}],"security":[{"bearerAuth":[]}],"paths":{"/auth/login":{"post":{"tags":["admin / auth"],"summary":"Login","operationId":"post_Login_auth_login","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"}}},"example":{"email":"admin@admin.com","password":"123456"}}}}}},"/user/update-profile":{"put":{"tags":["admin / auth"],"summary":"update profile","operationId":"put_update_profile_user_update_profile","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"image":{"type":"string"}}},"example":{"image":"1763980958570-e1e56ab4b385eee5cf7a7d22e8d6deade0e01afe.png"}}}}}},"/user/69d49fa0d3f315a5e5a44ce0":{"get":{"tags":["admin / Users"],"summary":"User by id","operationId":"get_User_by_id_user_69d49fa0d3f315a5e5a44ce0","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/user/pending-approvals":{"get":{"tags":["admin / Users"],"summary":"Get all pending users","operationId":"get_Get_all_pending_users_user_pending_approvals","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/user/sellers":{"get":{"tags":["admin / Users"],"summary":"Get all Sellers","operationId":"get_Get_all_Sellers_user_sellers","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/user/buyers":{"get":{"tags":["admin / Users"],"summary":"Get all Buyers","operationId":"get_Get_all_Buyers_user_buyers","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/user/approve/68a5c3bbd6577e23df72518a":{"put":{"tags":["admin / Users"],"summary":"Approve user","operationId":"put_Approve_user_user_approve_68a5c3bbd6577e23df72518a","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/user/68515df8948e465faf8b4cbb":{"delete":{"tags":["admin / Users"],"summary":"Reject user","operationId":"delete_Reject_user_user_68515df8948e465faf8b4cbb","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/list":{"get":{"tags":["admin / Assignments"],"summary":"All assignments","operationId":"get_All_assignments_assignment_list","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/68b1955f22769138bc4f3c64":{"get":{"tags":["admin / Assignments"],"summary":"Assignments by id","operationId":"get_Assignments_by_id_assignment_68b1955f22769138bc4f3c64","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["admin / Assignments"],"summary":"Delete Assignments by id","operationId":"delete_Delete_Assignments_by_id_assignment_68b1955f22769138bc4f3c64","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"put":{"tags":["User / Assignments"],"summary":"Update assignment","operationId":"put_Update_assignment_assignment_68b1955f22769138bc4f3c64","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"modeOfAssignment":{"type":"object","properties":{"mode":{"type":"string"},"inPerson":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":"string"},"zipCode":{"type":"string"}}}}},"assignmentLength":{"type":"string"}}},"example":{"modeOfAssignment":{"mode":"in-person","inPerson":{"city":"New York","state":"NY","zipCode":"10001"}},"assignmentLength":"Half day (0-4 hrs)"}}}}}},"/conversation/by/assignmentId/6911cffaef0ebbff35c5603f":{"get":{"tags":["admin / Assignments"],"summary":"conversation by assignment id","operationId":"get_conversation_by_assignment_id_conversation_by_assignmentId_6911cffaef0ebbff3","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/list/dispute":{"get":{"tags":["admin / Assignments"],"summary":"disputed","operationId":"get_disputed_assignment_list_dispute","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/stats":{"get":{"tags":["admin / Stats"],"summary":"Stats","operationId":"get_Stats_stats","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/ratingReviews/list":{"get":{"tags":["admin / Rating"],"summary":"Get rating by user id","operationId":"get_Get_rating_by_user_id_ratingReviews_list","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/conversation/create":{"post":{"tags":["admin / chat"],"summary":"Create conversation","operationId":"post_Create_conversation_conversation_create","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"receiverId":{"type":"string"}}},"example":{"receiverId":""}}}}}},"/message/send":{"post":{"tags":["admin / chat"],"summary":"Send message","operationId":"post_Send_message_message_send","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"conversationId":{"type":"string"},"messageContent":{"type":"string"},"messageType":{"type":"string"}}},"example":{"conversationId":"69203d3a46c72ad7b0e33926","messageContent":"message sent 2","messageType":"text"}}}}}},"/conversation":{"get":{"tags":["admin / chat"],"summary":"All conversation by user","operationId":"get_All_conversation_by_user_conversation","security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"example":"10"},{"name":"page","in":"query","required":false,"schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/conversation/by/assignmentId/693fd57333c6758a9c8d927b":{"get":{"tags":["admin / chat"],"summary":"All conversation by user Copy","operationId":"get_All_conversation_by_user_Copy_conversation_by_assignmentId_693fd57333c6758a9","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/notifications/send":{"post":{"tags":["admin / Notifications"],"summary":"Send announcement","operationId":"post_Send_announcement_notifications_send","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"users":{"type":"array","items":{"type":"string"}},"announcement":{"type":"string"}}},"example":{"users":["691c675e1e82d230751a6941"],"announcement":"this is announcement"}}}}}},"/user/list/all":{"get":{"tags":["admin / Notifications"],"summary":"Get users lists for notification","operationId":"get_Get_users_lists_for_notification_user_list_all","security":[{"bearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"string"},"example":"1"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"example":"10"},{"name":"search","in":"query","required":false,"schema":{"type":"string"},"example":"seller"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/termAndCondition":{"get":{"tags":["admin / Term & condition"],"summary":"Term and condition","operationId":"get_Term_and_condition_termAndCondition","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["admin / Term & condition"],"summary":"Create TC","operationId":"post_Create_TC_termAndCondition","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":"<p>Welcome to our app! By accessing our services, you agree to comply with our terms and conditions.</p>\n\t\t<h3>1. Acceptance of Terms</h3>\n\t\t<p>By using our platform, you agree to abide by these terms. If you do not agree, please do not use our services.</p>\n\t\t<h3>2. User Responsibilities</h3>\n\t\t<p>Users are responsible for maintaining the confidentiality of their accounts and any activities that occur under their accounts.</p>\n\t\t<h3>3. Intellectual Property</h3>\n\t\t<p>All content provided on this platform is the intellectual property of our company and may not be used without permission.</p>\n\t\t<h3>4. Termination</h3>\n\t\t<p>We reserve the right to terminate or suspend your account if you violate any of these terms.</p>\n\t\t<h3>5. Contact Us</h3>\n\t\t<p>If you have any questions, please reach out to us at <span style=\"color:blue;\">support@example.com</span>.</p>"}}}}},"put":{"tags":["admin / Term & condition"],"summary":"Update TC","operationId":"put_Update_TC_termAndCondition","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":""}}}}}},"/disputePolicy":{"get":{"tags":["admin / Dispute policy"],"summary":"Get","operationId":"get_Get_disputePolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["admin / Dispute policy"],"summary":"Create","operationId":"post_Create_disputePolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":"<p>Welcome to our app! By accessing our services, you agree to comply with our terms and conditions.</p>\n\t\t<h3>1. Acceptance of Terms</h3>\n\t\t<p>By using our platform, you agree to abide by these terms. If you do not agree, please do not use our services.</p>\n\t\t<h3>2. User Responsibilities</h3>\n\t\t<p>Users are responsible for maintaining the confidentiality of their accounts and any activities that occur under their accounts.</p>\n\t\t<h3>3. Intellectual Property</h3>\n\t\t<p>All content provided on this platform is the intellectual property of our company and may not be used without permission.</p>\n\t\t<h3>4. Termination</h3>\n\t\t<p>We reserve the right to terminate or suspend your account if you violate any of these terms.</p>\n\t\t<h3>5. Contact Us</h3>\n\t\t<p>If you have any questions, please reach out to us at <span style=\"color:blue;\">support@example.com</span>.</p>"}}}}},"put":{"tags":["admin / Dispute policy"],"summary":"Update","operationId":"put_Update_disputePolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":""}}}}}},"/privacyPolicy":{"get":{"tags":["admin / Privacy policy"],"summary":"Privacy policy","operationId":"get_Privacy_policy_privacyPolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["admin / Privacy policy"],"summary":"Create PP","operationId":"post_Create_PP_privacyPolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":"<p>Your privacy is important to us. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you visit our website or use our services.</p>\n\t\t<h3>1. Information We Collect</h3>\n\t\t<p>We may collect personal information such as your name, email address, phone number, and usage data when you interact with our platform.</p>\n\t\t<h3>2. How We Use Your Information</h3>\n\t\t<p>We use the information we collect to provide and improve our services, communicate with you, and ensure the security of our platform.</p>\n\t\t<h3>3. Data Security</h3>\n\t\t<p>We implement industry-standard security measures to protect your personal data. However, no online service can guarantee absolute security.</p>\n\t\t<h3>4. Third-Party Services</h3>\n\t\t<p>We may share certain information with third-party service providers to enhance our platform's functionality and user experience.</p>\n\t\t<h3>5. Your Rights</h3>\n\t\t<p>You have the right to access, update, or delete your personal information. If you have any privacy-related concerns, please contact us.</p>\n\t\t<h3>6. Contact Us</h3>\n\t\t<p>If you have any questions about this Privacy Policy, you can reach out to us at <span style=\"color:blue;\">support@example.com</span>.</p>"}}}}}},"/about":{"put":{"tags":["admin / Privacy policy"],"summary":"Update PP","operationId":"put_Update_PP_about","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":""}}}}},"post":{"tags":["admin / About"],"summary":"Create about","operationId":"post_Create_about_about","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":"<p>Welcome to our app! We are dedicated to providing top-notch services to enhance your experience.</p>\n\t\t<h3>Our Mission</h3>\n\t\t<p>Our mission is to revolutionize the way users interact with digital platforms, offering seamless and efficient services.</p>"}}}}},"get":{"tags":["admin / About"],"summary":"About","operationId":"get_About_about","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/cancellationPolicy":{"get":{"tags":["admin / Cancellation Policy"],"summary":"Get","operationId":"get_Get_cancellationPolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["admin / Cancellation Policy"],"summary":"Create","operationId":"post_Create_cancellationPolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":"<p>Your privacy is important to us. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you visit our website or use our services.</p>\n\t\t<h3>1. Information We Collect</h3>\n\t\t<p>We may collect personal information such as your name, email address, phone number, and usage data when you interact with our platform.</p>\n\t\t<h3>2. How We Use Your Information</h3>\n\t\t<p>We use the information we collect to provide and improve our services, communicate with you, and ensure the security of our platform.</p>\n\t\t<h3>3. Data Security</h3>\n\t\t<p>We implement industry-standard security measures to protect your personal data. However, no online service can guarantee absolute security.</p>\n\t\t<h3>4. Third-Party Services</h3>\n\t\t<p>We may share certain information with third-party service providers to enhance our platform's functionality and user experience.</p>\n\t\t<h3>5. Your Rights</h3>\n\t\t<p>You have the right to access, update, or delete your personal information. If you have any privacy-related concerns, please contact us.</p>\n\t\t<h3>6. Contact Us</h3>\n\t\t<p>If you have any questions about this Privacy Policy, you can reach out to us at <span style=\"color:blue;\">support@example.com</span>.</p>"}}}}},"put":{"tags":["admin / Cancellation Policy"],"summary":"Update","operationId":"put_Update_cancellationPolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":""}}}}}},"/payment/dispute/resolve":{"post":{"tags":["admin / Dispute management"],"summary":"Resolve","operationId":"post_Resolve_payment_dispute_resolve","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"disputeId":{"type":"string"},"decision":{"type":"string"},"explanation":{"type":"string"},"refundAmount":{"type":"integer"},"penaltyApplied":{"type":"string"},"actionTaken":{"type":"string"}}},"example":{"disputeId":"69384220a2145c4c317604d9","decision":"payment_released","explanation":"After reviewing the evidence, it's clear the contractor failed to show up for the assignment.","refundAmount":140,"penaltyApplied":"Warning issued","actionTaken":"Full refund to buyer, warning added to seller's account"}}}}}},"/payment/dispute/69383c8ca2145c4c3176008c":{"get":{"tags":["admin / Dispute management"],"summary":"dispute by id","operationId":"get_dispute_by_id_payment_dispute_69383c8ca2145c4c3176008c","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment/disputes/all":{"get":{"tags":["admin / Dispute management"],"summary":"dispute LIST","operationId":"get_dispute_LIST_payment_disputes_all","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment/release/assignment/694281a5aedad18e2edc29b5":{"get":{"tags":["admin / Dispute management"],"summary":"Release payment","operationId":"get_Release_payment_payment_release_assignment_694281a5aedad18e2edc29b5","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/about/6807866b689bd7946db04a22":{"put":{"tags":["admin / About"],"summary":"update about","operationId":"put_update_about_about_6807866b689bd7946db04a22","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}}},"example":{"content":"<p>Welcome to our app! We are dedicated to providing top-notch services to enhance your experience.</p>\n\t\t<h3>Our Mission</h3>\n\t\t<p>Our mission is to revolutionize the way users interact with digital platforms, offering seamless and efficient services.</p></p>\n\t\t<h3>Our Mission</h3>\n\t\t"}}}}}},"/payment/6995be2b08c6e32ca6ac0a26/manual-transfer":{"post":{"tags":["admin"],"summary":"Manual transfer to seller Copy","operationId":"post_Manual_transfer_to_seller_Copy_payment_6995be2b08c6e32ca6ac0a26_manual_tran","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/stats/com.air.quality.index.app.air_quilty_mete":{"get":{"tags":["admin"],"summary":"app data","operationId":"get_app_data_stats_com_air_quality_index_app_air_quilty_mete","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/user/update-profile/update-profile":{"put":{"tags":["User / auth"],"summary":"update profile","operationId":"put_update_profile_user_update_profile_2","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"stripeAccountId":{"type":"string"}}},"example":{"stripeAccountId":""}}}}}},"/auth/forgot-password":{"post":{"tags":["User / auth"],"summary":"Forgot-password","operationId":"post_Forgot_password_auth_forgot_password","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}}},"example":{"email":"asabi2025cct@gmail.com"}}}}}},"/auth/verify-otp":{"post":{"tags":["User / auth"],"summary":"Verify-otp","operationId":"post_Verify_otp_auth_verify_otp","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"otp":{"type":"string"}}},"example":{"email":"shafiqrasool37@gmail.com","otp":"808764"}}}}}},"/auth/reset-password":{"post":{"tags":["User / auth"],"summary":"Reset-password","operationId":"post_Reset_password_auth_reset_password","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"otp":{"type":"string"},"password":{"type":"string"},"confirmPassword":{"type":"string"}}},"example":{"email":"asabi2025cct@gmail.com","otp":"714613","password":"123456","confirmPassword":"123456"}}}}}},"/auth/change-password":{"post":{"tags":["User / auth"],"summary":"Change-password","operationId":"post_Change_password_auth_change_password","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"oldPassword":{"type":"string"},"newPassword":{"type":"string"}}},"example":{"oldPassword":"123456","newPassword":"123456"}}}}}},"/user/68a5c646906db77ce01115ee":{"delete":{"tags":["User / auth"],"summary":"Delete user by user id","operationId":"delete_Delete_user_by_user_id_user_68a5c646906db77ce01115ee","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/user/691dc81046c72ad7b0e32d1f":{"get":{"tags":["User / auth"],"summary":"Get user by id","operationId":"get_Get_user_by_id_user_691dc81046c72ad7b0e32d1f","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/user/sign-up":{"post":{"tags":["User / auth"],"summary":"Sign-up","operationId":"post_Sign_up_user_sign_up","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"otp":{"type":"string"},"roleId":{"type":"string"},"image":{"type":"string"},"fullname":{"type":"string"},"phoneNo":{"type":"string"},"email":{"type":"string"},"location":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"zipCode":{"type":"string"},"password":{"type":"string"},"confirmPassword":{"type":"string"}}},"example":{"otp":"530196","roleId":"68a2bc7c10653b8bb4b94905","image":"1755691982450-2c242358a64ef89b3a1e68a6ea70fb00b431c7ee.jpg","fullname":"buyer","phoneNo":"00000000000","email":"newuser@gmail.com","location":"Khayaban-e-Jinnah and Defence Road","state":"punjab","country":"Lahore","zipCode":"52660","password":"123456","confirmPassword":"123456"}}}}}},"/user/request-otp":{"post":{"tags":["User / auth"],"summary":"Request-otp","operationId":"post_Request_otp_user_request_otp","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}}},"example":{"email":"newuser@gmail.com"}}}}}},"/auth/login/login":{"post":{"tags":["User / auth"],"summary":"Login","operationId":"post_Login_auth_login_2","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"password":{"type":"string"}}},"example":{"email":"fr471233@gmail.com ","password":"11223344"}}}}}},"/auth/google-login":{"post":{"tags":["User / auth"],"summary":"Google Login","operationId":"post_Google_Login_auth_google_login","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"roleId":{"type":"string"},"displayName":{"type":"string"},"email":{"type":"string"},"profileImage":{"type":"string"},"firebaseId":{"type":"string"}}},"example":{"roleId":"68a2bc7c10653b8bb4b94907","displayName":"google","email":"seller@google.com","profileImage":"","firebaseId":""}}}}}},"/role/list":{"get":{"tags":["User / Roles"],"summary":"Account types","operationId":"get_Account_types_role_list","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/uploads/image":{"post":{"tags":["User / Upload"],"summary":"Upload file","operationId":"post_Upload_file_uploads_image","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}}}},"/uploads/delete":{"post":{"tags":["User / Upload"],"summary":"Delete uploaded file or image","operationId":"post_Delete_uploaded_file_or_image_uploads_delete","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"filename":{"type":"string"}}},"example":{"filename":"1750943571605-Schools_Universities.xlsx"}}}}}},"/assignment":{"post":{"tags":["User / Assignments"],"summary":"create","operationId":"post_create_assignment","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"startDate":{"type":"string"},"startTime":{"type":"string"},"assignmentType":{"type":"string"},"modeOfAssignment":{"type":"object","properties":{"mode":{"type":"string"},"inPerson":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":"string"},"zipCode":{"type":"string"}}}}},"assignmentLength":{"type":"string"},"typeOfProceeding":{"type":"string"},"specialRequirements":{"type":"string"},"assignmentLanguage":{"type":"string"}}},"example":{"startDate":"2025-08-29","startTime":"16:30","assignmentType":"interpreter","modeOfAssignment":{"mode":"in-person","inPerson":{"city":"New York","state":"NY","zipCode":"10001"}},"assignmentLength":"Half day (0-3 hrs)","typeOfProceeding":"Court Hearings","specialRequirements":"Interpreter must have legal experience","assignmentLanguage":"Eastern Armenia Cantonese"}}}}},"get":{"tags":["User / Assignments"],"summary":"Assignments by buyer","operationId":"get_Assignments_by_buyer_assignment","security":[{"bearerAuth":[]}],"parameters":[{"name":"filter","in":"query","required":false,"schema":{"type":"string"},"example":"disputed"},{"name":"page","in":"query","required":false,"schema":{"type":"string"},"example":"1"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"example":"2"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/assignments-for-seller":{"get":{"tags":["User / Assignments"],"summary":"Assignments for seller","operationId":"get_Assignments_for_seller_assignment","security":[{"bearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"string"},"example":"1"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"example":"2"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/work/history/691ec90946c72ad7b0e3300f":{"get":{"tags":["User / Assignments"],"summary":"Assignments Histoty by user id","operationId":"get_Assignments_Histoty_by_user_id_assignment_work_history_691ec90946c72ad7b0e33","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/69d62b0792c70a16a270dd8f":{"get":{"tags":["User / Assignments"],"summary":"Assignments by id","operationId":"get_Assignments_by_id_assignment_69d62b0792c70a16a270dd8f","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/cancel/69d2b0e7d3f315a5e5a41c3e":{"put":{"tags":["User / Assignments"],"summary":"Cancel assignment","operationId":"put_Cancel_assignment_assignment_cancel_69d2b0e7d3f315a5e5a41c3e","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/complete/69035fcc575e489f7476a785":{"put":{"tags":["User / Assignments"],"summary":"Complete assignment","operationId":"put_Complete_assignment_assignment_complete_69035fcc575e489f7476a785","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/dispute/68b1955f22769138bc4f3c64":{"put":{"tags":["User / Assignments"],"summary":"Dispute assignment","operationId":"put_Dispute_assignment_assignment_dispute_68b1955f22769138bc4f3c64","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/assignment/6924458a2e27cbd94d3bf936":{"delete":{"tags":["User / Assignments"],"summary":"Delete Assignments by id","operationId":"delete_Delete_Assignments_by_id_assignment_6924458a2e27cbd94d3bf936","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/proposal":{"post":{"tags":["User / Proposals"],"summary":"Create proposal","operationId":"post_Create_proposal_proposal","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assignment":{"type":"string"},"file":{"type":"string"},"proposal":{"type":"string"},"qoute_rate":{"type":"integer"},"overTimeRate":{"type":"integer"},"additionalCosts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"integer"}}}}}},"example":{"assignment":"69733a73aec85208318f5ff2","file":"1759833946485-Alumni_Working_document.pdf","proposal":"this is proposal","qoute_rate":5,"overTimeRate":10,"additionalCosts":[{"name":"food/meal","amount":10},{"name":"Miscellaneous","amount":5}]}}}}}},"/proposal/":{"put":{"tags":["User / Proposals"],"summary":"Update proposal","operationId":"put_Update_proposal_proposal","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"file":{"type":"string"},"proposal":{"type":"string"},"qoute_rate":{"type":"integer"},"mileage":{"type":"integer"},"overTimeRate":{"type":"integer"},"additionalCosts":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"integer"}}}}},"example":{"file":"1759833946485-Alumni_Working_document.pdf","proposal":"this is the first proposal","qoute_rate":10,"mileage":2,"overTimeRate":6,"additionalCosts":{"name":"parking","amount":5}}}}}}},"/proposal/approve/69df785a07a0403a64971569":{"put":{"tags":["User / Proposals"],"summary":"Approve proposal","operationId":"put_Approve_proposal_proposal_approve_69df785a07a0403a64971569","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paymentMethodId":{"type":"string"}}},"example":{"paymentMethodId":"pm_1TLdfQLLV38IuyEbU71YhlY"}}}}}},"/proposal/reject/69732a010743fd96489a8d91":{"delete":{"tags":["User / Proposals"],"summary":"Reject proposal","operationId":"delete_Reject_proposal_proposal_reject_69732a010743fd96489a8d91","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/proposal/697323f83eeb7ae07e7a9cc0":{"get":{"tags":["User / Proposals"],"summary":"Proposal by assignment id","operationId":"get_Proposal_by_assignment_id_proposal_697323f83eeb7ae07e7a9cc0","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/message/send/send-message":{"post":{"tags":["User / Chat"],"summary":"Send message","operationId":"post_Send_message_message_send_2","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"conversationId":{"type":"string"},"messageContent":{"type":"string"},"messageType":{"type":"string"}}},"example":{"conversationId":"692443a746c72ad7b0e34a99","messageContent":"1764845875591-conversation_.doc","messageType":"file"}}}}}},"/message/send/support":{"post":{"tags":["User / Chat"],"summary":"Send message Support","operationId":"post_Send_message_Support_message_send_support","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"messageContent":{"type":"string"},"messageType":{"type":"string"}}},"example":{"messageContent":"hi admin ","messageType":"text"}}}}}},"/message/68d237c74c2885e26b56ae84":{"get":{"tags":["User / Chat"],"summary":"Messgas by con Id","operationId":"get_Messgas_by_con_Id_message_68d237c74c2885e26b56ae84","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["User / Chat"],"summary":"Delete Messgas for all","operationId":"delete_Delete_Messgas_for_all_message_68d237c74c2885e26b56ae84","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/message/delete-for-all/690b52599c795d4e56aca91d":{"delete":{"tags":["User / Chat"],"summary":"Delete Messgas for me","operationId":"delete_Delete_Messgas_for_me_message_delete_for_all_690b52599c795d4e56aca91d","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/conversation/by/id":{"get":{"tags":["User / Chat"],"summary":"conversation by id","operationId":"get_conversation_by_id_conversation_by_id","security":[{"bearerAuth":[]}],"parameters":[{"name":"conversationId","in":"query","required":false,"schema":{"type":"string"},"example":"6911d030ef0ebbff35c5606e"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/conversation/with/admin/and/user/691c675c1e82d230751a693b":{"get":{"tags":["User / Chat"],"summary":"conversation with admin","operationId":"get_conversation_with_admin_conversation_with_admin_and_user_691c675c1e82d230751","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/conversation/delete-for-all/68ba917ba807d34628396d25":{"delete":{"tags":["User / Chat"],"summary":"Delete conversation for all","operationId":"delete_Delete_conversation_for_all_conversation_delete_for_all_68ba917ba807d3462","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/conversation/delete/all/conversations/695e032cd1e044f0f1ba1fad":{"delete":{"tags":["User / Chat"],"summary":"Delete all conversations","operationId":"delete_Delete_all_conversations_conversation_delete_all_conversations_695e032cd1","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/conversation/690b46ec0d83ac6b018e1667":{"delete":{"tags":["User / Chat"],"summary":"Delete conversation for me","operationId":"delete_Delete_conversation_for_me_conversation_690b46ec0d83ac6b018e1667","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/conversation/all-conversation-by-user":{"get":{"tags":["User / Chat"],"summary":"All conversation by user","operationId":"get_All_conversation_by_user_conversation_2","security":[{"bearerAuth":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"example":"10"},{"name":"page","in":"query","required":false,"schema":{"type":"string"},"example":"1"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/overTime":{"post":{"tags":["User / Over time request"],"summary":"Send","operationId":"post_Send_overTime","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"},"overTimeHours":{"type":"integer"},"hourlyRate":{"type":"integer"},"workDetails":{"type":"string"},"additionalCosts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"amount":{"type":"integer"}}}},"receiptFile":{"type":"array","items":{"type":"string"}}}},"example":{"assignmentId":"693fd57333c6758a9c8d927b","overTimeHours":2,"hourlyRate":5,"workDetails":"I've worked overtime on this assignment requesting additional payment for the extra hours.","additionalCosts":[{"name":"food/meal","amount":10},{"name":"Miscellaneous","amount":5}],"receiptFile":["1761828770162-React_on_Ubuntu_with_Nginx_and_Certbot_Guide.pdf"]}}}}}},"/overTime/request/68f62c610b739d4982b993cf":{"get":{"tags":["User / Over time request"],"summary":"Get request by assignment id","operationId":"get_Get_request_by_assignment_id_overTime_request_68f62c610b739d4982b993cf","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/overTime/approve/69119b9f104ac787bd8d4e2d":{"put":{"tags":["User / Over time request"],"summary":"Approve request","operationId":"put_Approve_request_overTime_approve_69119b9f104ac787bd8d4e2d","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/overTime/reject/request/68f62c610b739d4982b993cf":{"put":{"tags":["User / Over time request"],"summary":"Reject request","operationId":"put_Reject_request_overTime_reject_request_68f62c610b739d4982b993cf","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/submitWork":{"post":{"tags":["User / submit assignment"],"summary":"Submit","operationId":"post_Submit_submitWork","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"},"file":{"type":"string"},"description":{"type":"string"}}},"example":{"assignmentId":"6911cffaef0ebbff35c5603f","file":"1761828770162-React_on_Ubuntu_with_Nginx_and_Certbot_Guide.pdf","description":"Experienced stenographer required to transcribe court proceedings with precision and speed."}}}}}},"/submitWork/68f62c610b739d4982b993cf":{"get":{"tags":["User / submit assignment"],"summary":"submitted work by id","operationId":"get_submitted_work_by_id_submitWork_68f62c610b739d4982b993cf","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/submitWork/complete/6911d0caef0ebbff35c56112":{"put":{"tags":["User / submit assignment"],"summary":"Complete assignment","operationId":"put_Complete_assignment_submitWork_complete_6911d0caef0ebbff35c56112","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/ratingReviews/list/68a5c723906db77ce0111601":{"get":{"tags":["User / Rating"],"summary":"Get rating by user id","operationId":"get_Get_rating_by_user_id_ratingReviews_list_68a5c723906db77ce0111601","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/ratingReviews":{"post":{"tags":["User / Rating"],"summary":"Add rating","operationId":"post_Add_rating_ratingReviews","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"rateTo":{"type":"string"},"rating":{"type":"integer"},"review":{"type":"string"},"assignmentId":{"type":"string"}}},"example":{"rateTo":"69d49fa0d3f315a5e5a44ce0","rating":3,"review":"fast delivery","assignmentId":"69d62b0792c70a16a270dd8f"}}}}}},"/saveAssignment":{"post":{"tags":["User / Save Assignment"],"summary":"Save & unsave","operationId":"post_Save_unsave_saveAssignment","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"}}},"example":{"assignmentId":"69254a79bc7eded9b3a2af78"}}}}},"get":{"tags":["User / Save Assignment"],"summary":"Get All save","operationId":"get_Get_All_save_saveAssignment","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"conversationId":{"type":"string"},"messageContent":{"type":"string"},"messageType":{"type":"string"}}},"example":{"conversationId":"69203d3a46c72ad7b0e33926","messageContent":"hi admin how are you","messageType":"text"}}}}}},"/notifications/getNotificationsByUserId":{"get":{"tags":["User / Notifications"],"summary":"Get notifications list","operationId":"get_Get_notifications_list_notifications_getNotificationsByUserId","security":[{"bearerAuth":[]}],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"string"},"example":"1"},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"example":"10"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/notifications/69256f9eb832ef53e5344c86":{"delete":{"tags":["User / Notifications"],"summary":"Delete notification","operationId":"delete_Delete_notification_notifications_69256f9eb832ef53e5344c86","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/termAndCondition/":{"get":{"tags":["User / Term & condition"],"summary":"Term and condition","operationId":"get_Term_and_condition_termAndCondition_2","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/cancellationPolicy/":{"get":{"tags":["User / Cancellation policy"],"summary":"Cancellation policy","operationId":"get_Cancellation_policy_cancellationPolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/disputePolicy/disputed-policy":{"get":{"tags":["User / Disputed policy"],"summary":"Disputed policy","operationId":"get_Disputed_policy_disputePolicy","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/privacyPolicy/privacy-policy":{"get":{"tags":["User / Privacy policy"],"summary":"Privacy policy","operationId":"get_Privacy_policy_privacyPolicy_2","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment/create":{"post":{"tags":["User / Payment"],"summary":"create payment","operationId":"post_create_payment_payment_create","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"},"amount":{"type":"integer"},"currency":{"type":"string"},"metadata":{"type":"object","properties":{"note":{"type":"string"}}}}},"example":{"assignmentId":"6968e63d16bfce2051e08132","amount":10,"currency":"usd","metadata":{"note":"Payment for assignment"}}}}}}},"/stripe-account/create":{"post":{"tags":["User / Payment"],"summary":"Create stripe conncect account","operationId":"post_Create_stripe_conncect_account_stripe_account_create","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/stripe-account/onboarding-link":{"get":{"tags":["User / Payment"],"summary":"onboarding","operationId":"get_onboarding_stripe_account_onboarding_link","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/stripe-account/debug":{"get":{"tags":["User / Payment"],"summary":"Debug","operationId":"get_Debug_stripe_account_debug","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/stripe-account/status":{"get":{"tags":["User / Payment"],"summary":"status","operationId":"get_status_stripe_account_status","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/stripe-account/dashboard":{"get":{"tags":["User / Payment"],"summary":"dashboard","operationId":"get_dashboard_stripe_account_dashboard","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment/dispute/raise":{"post":{"tags":["User / Payment"],"summary":"Dispute raise","operationId":"post_Dispute_raise_payment_dispute_raise","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"},"disputeType":{"type":"string"},"reason":{"type":"string"},"description":{"type":"string"},"disputedAmount":{"type":"integer"},"supportingEvidence":{"type":"string"}}},"example":{"assignmentId":"69ea204b624aa0b6c202c611","disputeType":"no_show","reason":"Contractor did not show up for the assignment","description":"The contractor was supposed to arrive at 9 AM but never showed up. I called multiple times but received no response.","disputedAmount":90,"supportingEvidence":"1777015645676-Screenshot_20260422-124342.png"}}}}}},"/payment/confirm":{"post":{"tags":["User / Payment"],"summary":"confirm payment","operationId":"post_confirm_payment_payment_confirm","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"paymentIntentId":{"type":"string"},"paymentMethodId":{"type":"string"}}},"example":{"paymentIntentId":"pi_3SpqHOLLV38IuyEb0nFd6k7e","paymentMethodId":"pm_1SexFeLLV38IuyEbLuF8MH0e"}}}}}},"/payment/seller-mark-complete":{"post":{"tags":["User / Payment"],"summary":"Seller-mark-complete","operationId":"post_Seller_mark_complete_payment_seller_mark_complete","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"}}},"example":{"assignmentId":"692d81892bb8d47b32c88e13"}}}}}},"/payment/buyer-confirm-complete":{"post":{"tags":["User / Payment"],"summary":"buyer-confirm-complete","operationId":"post_buyer_confirm_complete_payment_buyer_confirm_complete","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"}}},"example":{"assignmentId":"692d81892bb8d47b32c88e13"}}}}}},"/payment/6932885a514c24ab1e0e11ba":{"get":{"tags":["User / Payment"],"summary":"payment by id","operationId":"get_payment_by_id_payment_6932885a514c24ab1e0e11ba","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"}}},"example":{"assignmentId":"692d81892bb8d47b32c88e13"}}}}}},"/payment/6995be2b08c6e32ca6ac0a26/manual-transfer/manual-transfer-to-seller":{"post":{"tags":["User / Payment"],"summary":"Manual transfer to seller","operationId":"post_Manual_transfer_to_seller_payment_6995be2b08c6e32ca6ac0a26_manual_transfer","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/payment/assignment/6968e63d16bfce2051e08132":{"get":{"tags":["User / Payment"],"summary":"payment by assignment id","operationId":"get_payment_by_assignment_id_payment_assignment_6968e63d16bfce2051e08132","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"assignmentId":{"type":"string"}}},"example":{"assignmentId":"692d81892bb8d47b32c88e13"}}}}}},"/paymentMethod":{"get":{"tags":["User / payment Method"],"summary":"List","operationId":"get_List_paymentMethod","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"tags":["User / payment Method"],"summary":"create","operationId":"post_create_paymentMethod","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"methodType":{"type":"string"},"cardNumber":{"type":"string"},"paymentMethodId":{"type":"string"}}},"example":{"methodType":"","cardNumber":"","paymentMethodId":""}}}}}},"/search":{"get":{"tags":["User"],"summary":"Search","operationId":"get_Search_search","security":[{"bearerAuth":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"type":"string"},"example":"seller"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Paste only the JWT token in Swagger Authorize. Swagger will send: Authorization: Bearer <token>."}},"schemas":{"SuccessResponse":{"type":"object","properties":{"status":{"oneOf":[{"type":"integer"},{"type":"string"}]},"message":{"type":"string"},"data":{}}},"ErrorResponse":{"type":"object","properties":{"status":{"oneOf":[{"type":"integer"},{"type":"string"}]},"message":{"type":"string"},"data":{}}}}}}