260707_01_ENH: noti hub 용 타입 추가2
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@kri/common",
|
"name": "@kri/common",
|
||||||
"version": "0.15.0",
|
"version": "0.16.0",
|
||||||
"description": "KRI 프런트엔드 공통 유틸리티",
|
"description": "KRI 프런트엔드 공통 유틸리티",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
import type { FileResponse, PageRequest, PageResponse } from "../types.js";
|
||||||
|
|
||||||
export enum MessageType {
|
export enum MessageType {
|
||||||
EMAIL = 11,
|
EMAIL = 11,
|
||||||
SMS = 21,
|
SMS = 21,
|
||||||
@@ -73,6 +75,32 @@ export type BulkSendResponse = {
|
|||||||
failCount: number;
|
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 = {
|
export type BulkSendInfo = {
|
||||||
bulkSendKey: string;
|
bulkSendKey: string;
|
||||||
reqstSvc: string;
|
reqstSvc: string;
|
||||||
@@ -112,4 +140,4 @@ export type SendInfo = {
|
|||||||
regCmpn: string;
|
regCmpn: string;
|
||||||
regUser: string;
|
regUser: string;
|
||||||
regDt: string;
|
regDt: string;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user