Merge branch 'dev' of http://39.117.244.52:3000/kjs/ERP-node into feature/screen-management

This commit is contained in:
kjs
2025-09-18 10:26:37 +09:00
29 changed files with 5824 additions and 247 deletions

View File

@@ -67,15 +67,37 @@ export interface DataSaveSettings {
// 외부 호출 설정
export interface ExternalCallSettings {
callType: "rest-api" | "email" | "webhook" | "kakao-talk" | "ftp" | "queue";
callType: "rest-api" | "email" | "ftp" | "queue";
// REST API 세부 종류
apiType?: "slack" | "kakao-talk" | "discord" | "generic";
// 일반 REST API 설정
apiUrl?: string;
httpMethod?: "GET" | "POST" | "PUT" | "DELETE";
headers?: string;
bodyTemplate?: string;
// 슬랙 전용 설정
slackWebhookUrl?: string;
slackChannel?: string;
slackMessage?: string;
// 카카오톡 전용 설정
kakaoAccessToken?: string;
kakaoRecipient?: string;
kakaoMessage?: string;
// 디스코드 전용 설정
discordWebhookUrl?: string;
discordMessage?: string;
discordUsername?: string;
}
// 단순화된 외부 호출 설정 (새로운 버전)
export interface SimpleExternalCallSettings {
configId?: number; // 선택된 외부 호출 설정 ID
configName?: string; // 설정 이름 (표시용)
message: string; // 메시지 템플릿
}
// ConnectionSetupModal Props 타입