260826_01_ENH: notihub 수정으로 인한 후속 조치

This commit is contained in:
2026-08-26 12:46:26 +09:00
parent be67eed7e4
commit a603f6ad6f
11 changed files with 173 additions and 51 deletions

View File

@@ -1,6 +1,16 @@
import type { TemplateEmail } from '@kri/common/noti-hub';
import type { Template, TemplateEmail, TemplateSummary } from '@kri/common/noti-hub';
import type { ListFilter } from './list';
export type TemplatePurpose = 0 | 1;
export type TemplateWithPurpose = Template & {
tmplatPurpose: TemplatePurpose;
};
export type TemplateSummaryWithPurpose = TemplateSummary & {
tmplatPurpose: TemplatePurpose;
};
export type MessageSendChannel = 'sms' | 'email';
/**
@@ -8,9 +18,20 @@ export type MessageSendChannel = 'sms' | 'email';
* 조회 응답 전용 필드로, 파이프(|)로 구분된 첨부파일명 목록이 내려온다. 요청 시엔 사용하지 않는다.
*/
export type TemplateEmailWithAttachments = TemplateEmail & {
tmplatPurpose: TemplatePurpose;
atchFl?: string;
};
export type PhoneVerificationSendData = {
verificationId: string;
expireDt: string;
};
export type SendSingleResponse = {
cmid: string;
data: Record<string, unknown>;
};
export type MessageSendSingleRequest = {
tmplatIdx: number;
resve: boolean;