260617_01_ENH: 배정 테스트를 위해 개발 중도 커밋
This commit is contained in:
40
src/types/notification.ts
Normal file
40
src/types/notification.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
export type Template = {
|
||||
itrntPrjctCd: string;
|
||||
tmplatTy: number;
|
||||
tmplatNm: string;
|
||||
tmplatTitle: string;
|
||||
tmplatBody: string;
|
||||
senderKey?: string;
|
||||
kkoTmplatCd?: string;
|
||||
nationCd?: string;
|
||||
atchFl?: string;
|
||||
delayTime?: number;
|
||||
sendTel?: string;
|
||||
sendEml?: string;
|
||||
sendNm: string;
|
||||
tmplatIdx: number;
|
||||
};
|
||||
|
||||
export type SmsDestination = {
|
||||
sid?: string;
|
||||
destTel: string;
|
||||
destNm: string;
|
||||
msgParam?: Record<string, string>;
|
||||
};
|
||||
|
||||
export type SaveTemplateRequest = Pick<Template, "tmplatIdx" | "tmplatNm" | "tmplatTitle" | "tmplatBody" | "sendTel">;
|
||||
|
||||
export type SendSmsBulkRequest = {
|
||||
templateIdx: number;
|
||||
reqstCmpn: string;
|
||||
reqstUser: string;
|
||||
reqstSvc: string;
|
||||
destinations: SmsDestination[];
|
||||
};
|
||||
|
||||
export type BulkSendResponse = {
|
||||
bulkSendKey: string;
|
||||
requestCount: number;
|
||||
acceptCount: number;
|
||||
failCount: number;
|
||||
};
|
||||
Reference in New Issue
Block a user