260707_01_ENH: noti hub 용 타입 추가2

This commit is contained in:
2026-07-07 14:56:10 +09:00
parent bf94572460
commit 819785f736
2 changed files with 30 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
import type { FileResponse, PageRequest, PageResponse } from "../types.js";
export enum MessageType {
EMAIL = 11,
SMS = 21,
@@ -73,6 +75,32 @@ export type BulkSendResponse = {
failCount: number;
};
export type SendResultSummaryRequest = {
bulkSendKey?: string;
itrntPrjctCd?: string;
reqstSvc?: string;
prjctCd?: string;
sendStartDt?: string;
sendEndDt?: string;
};
export type SendResultSummaryResponse = {
sendTy?: number;
sendCorp?: number;
successCount?: number;
failCount?: number;
standByCount?: number;
totalCount?: number;
price?: number;
cost?: number;
};
export type BulkSendDetailRequest<TSortBy extends string = string> = PageRequest<TSortBy>;
export type BulkSendDetailResponse = PageResponse<SendInfo>;
export type ReportExcelResponse = FileResponse;
export type BulkSendInfo = {
bulkSendKey: string;
reqstSvc: string;
@@ -112,4 +140,4 @@ export type SendInfo = {
regCmpn: string;
regUser: string;
regDt: string;
};
};