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

This reverts commit d8e75c8cb3.
This commit is contained in:
Ashish Deo
2025-04-30 19:15:38 +05:30
committed by GitHub
parent d8e75c8cb3
commit 69cc381890
3 changed files with 7 additions and 5 deletions

View File

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

View File

@@ -10,6 +10,8 @@ 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,
requestSubType: type || ''
type: type || ''
}
);
return axiosInstance.get(url);