261001_01_ENH: 문자 템플릿 JPG 첨부 및 MMS 이미지 미리보기 추가

This commit is contained in:
2026-10-01 12:13:45 +09:00
parent e8ddcdb88d
commit 11f7ec1719
9 changed files with 195 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
import type { Template, TemplateEmail, TemplateSummary } from '@kri/common/noti-hub';
import type { Template, TemplateEmail, TemplateSms, TemplateSummary } from '@kri/common/noti-hub';
import type { ListFilter } from './list';
export type TemplatePurpose = 0 | 1;
@@ -22,6 +22,21 @@ export type TemplateEmailWithAttachments = TemplateEmail & {
atchFl?: string;
};
/**
* 문자 템플릿 JPG 첨부파일명 목록 (TemplateEmailWithAttachments와 동일하게 조회 응답 전용).
* 첨부가 하나라도 있으면 서버가 LMS_MMS로 저장한다.
*/
export type TemplateSmsWithAttachments = TemplateSms & {
tmplatPurpose: TemplatePurpose;
atchFl?: string;
};
/** 문자 미리보기에 표시할 첨부 이미지 (src는 data URL 또는 Object URL) */
export type TemplateAttachmentImage = {
fileName: string;
src: string;
};
export type PhoneVerificationSendData = {
verificationId: string;
expireDt: string;