summaryrefslogtreecommitdiff
path: root/lib/pos/types.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-09-26 14:13:20 +0900
committerjoonhoekim <26rote@gmail.com>2025-09-26 14:13:20 +0900
commitf8fc02e175f93466cd7693eb6e549c45362e785b (patch)
tree1037ec1f9225b0a0142defd6a27c68c3e6a47009 /lib/pos/types.ts
parent11bc8239ad474a8f31c1c73de51f7d0f101594df (diff)
(김준회) POS 및 구매 피드백 처리
- 요구사항 28.(0.1) 24번 행 (prItem번호 별도 표기) - pos nfs 경로에서 가져오도록 수정개발
Diffstat (limited to 'lib/pos/types.ts')
-rw-r--r--lib/pos/types.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/pos/types.ts b/lib/pos/types.ts
index eb75c94b..2a1c6076 100644
--- a/lib/pos/types.ts
+++ b/lib/pos/types.ts
@@ -59,6 +59,25 @@ export interface DownloadPosFileParams {
relativePath: string;
}
+/**
+ * NFS 마운트를 통한 파일 접근 파라미터
+ */
+export interface AccessNfsFileParams {
+ /**
+ * POS API에서 반환된 상대 경로
+ */
+ relativePath: string;
+}
+
+export interface AccessNfsFileResult {
+ success: boolean;
+ fileName?: string;
+ fileBuffer?: Buffer;
+ mimeType?: string;
+ fullPath?: string;
+ error?: string;
+}
+
export interface DownloadPosFileResult {
success: boolean;
fileName?: string;
@@ -85,3 +104,6 @@ export interface PosFileSyncResult {
export const POS_SOAP_SEGMENT = '/Documentum/PlmFileBroker.asmx';
export const POS_SOAP_BASE_URL = process.env.POS_SOAP_ENDPOINT || 'http://60.100.99.122:7700';
export const POS_SOAP_ENDPOINT = `${POS_SOAP_BASE_URL}${POS_SOAP_SEGMENT}`;
+
+// NFS 마운트 관련 설정
+export const DOCUMENTUM_NFS_PATH = process.env.DOCUMENTUM_NFS || '/mnt/nfs-documentum/';