261019_01_ENH: 리스트 비동기 작업 동시 실행 제한 및 진행 상태 UI 개선, 미사용 참조 정리
This commit is contained in:
@@ -5,7 +5,6 @@ import { nextApi } from "@/lib/http-client";
|
||||
import { qk } from "@/query/key/keys";
|
||||
import type {
|
||||
BulkSendInfo,
|
||||
BulkSendResult,
|
||||
ChannelType,
|
||||
KkoTemplateDetail,
|
||||
KkoTemplateListResponse,
|
||||
@@ -16,7 +15,6 @@ import type {
|
||||
import type { FileResponse, PageRequest, PageResponse } from "@kri/common";
|
||||
import type { ProjectMainTemplateUpdateRequest } from "@/types/project";
|
||||
import type {
|
||||
MessageSendBulkRequest,
|
||||
MessageSendChannel,
|
||||
MessageSendSingleRequest,
|
||||
SendSingleResponse,
|
||||
@@ -268,16 +266,6 @@ export function useSendSingleMessageMutation(channel: MessageSendChannel, prjctI
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 대량 발송 (POST /message-send/{channel}/bulk/{prjctIdx}, contactServer 경유)
|
||||
*/
|
||||
export function useSendBulkMessageMutation(channel: MessageSendChannel, prjctIdx: number) {
|
||||
return useMutation({
|
||||
mutationFn: (req: MessageSendBulkRequest) =>
|
||||
nextApi.post<BulkSendResult>(`/message-send/${channel}/bulk/${prjctIdx}`, req),
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* SID 단위 발송 결과 목록 조회 (GET /message-report/send-result/{sid}/{prjctCd}/{reqstSvc})
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user