diff --git a/package.json b/package.json index ac4e6d1..4749421 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kri/common", - "version": "0.15.0", + "version": "0.16.0", "description": "KRI 프런트엔드 공통 유틸리티", "type": "module", "main": "./dist/index.js", diff --git a/src/noti-hub/noti-hub-types.ts b/src/noti-hub/noti-hub-types.ts index eb87caf..795c18b 100644 --- a/src/noti-hub/noti-hub-types.ts +++ b/src/noti-hub/noti-hub-types.ts @@ -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 = PageRequest; + +export type BulkSendDetailResponse = PageResponse; + +export type ReportExcelResponse = FileResponse; + export type BulkSendInfo = { bulkSendKey: string; reqstSvc: string; @@ -112,4 +140,4 @@ export type SendInfo = { regCmpn: string; regUser: string; regDt: string; -}; \ No newline at end of file +};