feat(ticket): add audit timeline and safeguard extension rejection
This commit is contained in:
@@ -16,6 +16,7 @@ import type {
|
||||
TicketDefectClassesResponse,
|
||||
TicketListParams,
|
||||
TicketListResponse,
|
||||
TicketTimelineResponse,
|
||||
} from '@/types';
|
||||
|
||||
type TicketAssignmentsApiResponse =
|
||||
@@ -52,6 +53,15 @@ export const ticketService = {
|
||||
return response.data;
|
||||
},
|
||||
|
||||
getTicketTimeline: async (
|
||||
ticketId: string,
|
||||
): Promise<TicketTimelineResponse> => {
|
||||
const response = await axiosClient.get<TicketTimelineResponse>(
|
||||
API_ROUTES.TICKETS.TIMELINE(ticketId),
|
||||
);
|
||||
return response.data;
|
||||
},
|
||||
|
||||
getTicketClassDetail: async (
|
||||
ticketId: string,
|
||||
defectClass: string,
|
||||
|
||||
Reference in New Issue
Block a user