NTP-59042 | Agency and Agent Allocation API changes (#1436)

This commit is contained in:
Ashish Deo
2025-04-30 16:26:36 +05:30
committed by GitHub
parent 051c97786c
commit d8e75c8cb3
3 changed files with 5 additions and 7 deletions

View File

@@ -39,12 +39,12 @@ export const AllocationType: { [key: string]: string } = {
Allocate: 'Allocate'
};
export const AgentAllocationType: { [key: string]: string } = {
Deallocate: 'DEALLOCATE_CASES_TO_AGENT_FILE',
Allocate: 'ALLOCATE_CASES_TO_AGENT_FILE_S3'
Deallocate: 'TICKET_DE_ALLOCATION_REQUEST',
Allocate: 'TICKET_ALLOCATION_REQUEST'
};
export const AgencyAllocationType: { [key: string]: string } = {
Deallocate: 'DEALLOCATE_CASES_TO_AGENCY_FILE',
Allocate: 'ALLOCATE_CASES_TO_AGENCY_FILE_S3'
Deallocate: 'TICKET_RESOLUTION_REQUEST',
Allocate: 'TICKET_CREATION_REQUEST'
};
export const CaseType: { [key: string]: string } = {
Agency: 'Agency',

View File

@@ -10,8 +10,6 @@ import { fetchFailureReport, fetchOriginalFile } from './uploadHistoryDrawerActi
import dayjs from 'dayjs';
import { DateTimeFormat } from '@cp/src/components/DateTimePicker/constants';
const SET_DUMMY_TRUE = true;
export const useColumnDefs = (): {
columnDefs: ColDef[];
handleFileButtonClick: (fileReferenceId: string, uploadStatus: string) => void;

View File

@@ -32,7 +32,7 @@ export const fetchUploadHistoryPolling = (pageNo: number, pageSize: number, type
{
pageNo: pageNo,
pageSize: pageSize,
type: type || ''
requestSubType: type || ''
}
);
return axiosInstance.get(url);