import { AxiosResponse } from 'axios'; import { EndpointDetailResponse, ExecuteEndpointBody, ExecuteEndpointQueryParams, ExecuteEndpointResponse, ApiBugData, ResponseTimeData, ProjectQC, GroupingData, GroupingListData, EndPointResponse, RunEndpointTestResponse, ExecuteMultipleEndPointResponse, AllPBIResponse, AllPBIOptionsQueryParams, AllPBIOptionResponse } from '../types/projectQcService.type'; import { FetchDetailResponse, FetchListResponse, FetchOptionResponse, QueryParams } from '../types/fetchResponse.type'; import { GetOptionsParams, ExecuteEndpoint, UpdateEndPointDataBody, ExecuteMultipleEndPointBody, AllPBIQueryParams, UpdateAssignQcPBIBody, PBIMarkFinishBody, PBIMarkBugBody, CreateBugDetailProjectSprintBody } from '../dto/projectQcService.dto'; import { JSONContent } from '../types/timeline.type'; import { StatusMessageResponse } from '../dto/ticketService.dto'; declare const ProjectQCServices: { getEndpointDetail: (projectId: string, endpointId: string) => Promise>; postExecuteEndpoint: (projectId: string, endpointId: string, type: "json" | "form-data", params: ExecuteEndpointQueryParams, body: ExecuteEndpointBody) => Promise>; getOptions: (status: string, params: GetOptionsParams, projectId: string, type: string[], stage: string) => Promise>>; getPendingMobile: (params: QueryParams, id: string, type?: "development" | "staging") => Promise>>; getProjectQC: (params: QueryParams, id: string) => Promise>>; getPendingWeb: (params: QueryParams, id: string, type?: "development" | "staging") => Promise>>; getSubModuleDetail: (subModuleId: string) => Promise; getDetailScenarioTesting: (params: QueryParams, subModuleId: string) => Promise>>; editTestCases: (subModuleId: string, id: string, data: Partial) => Promise>; editTestCaseStatus: (subModuleId: string, id: string, data: Partial) => Promise>; openTicket: (subModuleId: string, testCaseId: string, data: object) => Promise>; markAsDone: (subModuleId: string) => Promise>; markAsReview: (subModuleId: string) => Promise>; getHistory: (params: QueryParams, id: string, type?: "development" | "staging") => Promise>>; createTestCases: (subModuleId: string) => Promise>>; deleteTestCases: (subModuleId: string, ids: string[]) => Promise>; reorderTestCases: (subModuleId: string, targetId: string, previousNeighbourId: string | null, nextNeighbourId: string | null) => Promise>; duplicateTestCases: (subModuleId: string, id: string[]) => Promise>; assignQc: (e2eSubModuleIds: string[], qcId: string, projectId: string) => Promise>; changeBugDetailStatus: (subModuleId: string, testCaseId: string, bugDetailId: string, status: string | object) => Promise; requestCancelBugDetailStatus: (subModuleId: string, testCaseId: string, bugDetailId: string, status: string | object) => Promise; getResponseTime: (projectId: string, params: QueryParams) => Promise>>; getApiBug: (projectId: string, params: QueryParams) => Promise>>; getGrouping: (projectId: string, params: QueryParams) => Promise>>; getGroupingList: (projectId: string, method: string, params: QueryParams) => Promise>>; getPingServerMax: (projectId: string) => Promise; editPingServerMax: (projectId: string, pingServerMaxMs: number) => Promise; getEndpointDetails: (projectId: string, endpoint: string) => Promise>; runEndpointTest: (projectId: string, endpoint: string, type: "json" | "form-data", params: ExecuteEndpoint, requestBody?: string | FormData) => Promise>; assignQcToEndpoints: (projectId: string, endpointIds: string[], qcId: string) => Promise; changeEndpointBuggedStatus: (projectId: string, endpointIds: string[], type?: "performance" | "reportedBug", editorObject?: JSONContent) => Promise; getPerformanceOptions(projectId: string, params: GetOptionsParams, type: string, method?: string): Promise; putEndpointData: (projectId: string, endpointId: string, body: UpdateEndPointDataBody) => Promise; postExecuteMultipleEndpoint: (projectId: string, body: ExecuteMultipleEndPointBody) => Promise>; getAllPBI(projectId: string, params?: AllPBIQueryParams): Promise>; getAllPBIOptions: (projectId: string, params?: AllPBIOptionsQueryParams) => Promise>; putAssignQcToPbi: (projectId: string, body: UpdateAssignQcPBIBody) => Promise>; postPBIMarkFinish: (projectId: string, body: PBIMarkFinishBody) => Promise>; postPBIMarkBug: (projectId: string, pbiId: string, body: PBIMarkBugBody) => Promise>; postCreateBugDetailProjectSprint: (e2eSubModuleId: string, testCaseId: string, body: CreateBugDetailProjectSprintBody) => Promise>; }; export default ProjectQCServices;