summaryrefslogtreecommitdiff
path: root/lib/pos/index.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-10-30 10:35:26 +0900
committerjoonhoekim <26rote@gmail.com>2025-10-30 10:35:26 +0900
commit284f9f40d9494168f3e68eedd9af067c38362eea (patch)
treeac26b3e9fab46b996c16bfa7a7add8f26ddb5042 /lib/pos/index.ts
parent88f13ab89d2250e52c3375b077328a933a5762ec (diff)
(김준회) refactor: POS: 온디맨드로 다운로드받도록 변경, 매핑로직에선 pos 관련 로직 제거
Diffstat (limited to 'lib/pos/index.ts')
-rw-r--r--lib/pos/index.ts24
1 files changed, 19 insertions, 5 deletions
diff --git a/lib/pos/index.ts b/lib/pos/index.ts
index 75309bdd..d889f8c1 100644
--- a/lib/pos/index.ts
+++ b/lib/pos/index.ts
@@ -1,4 +1,16 @@
-// POS 관련 모든 기능을 하나로 통합하는 인덱스 파일
+/**
+ * POS (Purchase Order Specification) 파일 관련 기능 통합 모듈
+ *
+ * 주요 기능:
+ * - MATNR(자재코드)로 DCMTM_ID 조회
+ * - SOAP API를 통한 POS 파일 경로 조회
+ * - NFS 네트워크 드라이브에서 파일 다운로드
+ * - 온디맨드 방식의 POS 파일 다운로드 (자동 동기화 제거됨)
+ *
+ * 주요 변경사항:
+ * - syncRfqPosFiles 함수 제거됨 (온디맨드 방식으로 대체)
+ * - getDownloadUrlByMaterialCode 등 새로운 온디맨드 함수 추가
+ */
import { getEncryptDocumentumFile } from './get-pos';
import { createDownloadUrl } from './download-pos-file';
@@ -20,16 +32,18 @@ export {
} from './get-dcmtm-id';
export {
- syncRfqPosFiles
-} from './sync-rfq-pos-files';
-
-export {
getDesignDocumentByMaterialCode,
getDesignDocumentsForRfqItems,
getDesignDocumentByMaterialCodeAction,
getDesignDocumentsForRfqItemsAction
} from './design-document-service';
+export {
+ getDownloadUrlByMaterialCode,
+ getDownloadUrlsForMaterialCodes,
+ checkPosFileExists
+} from './download-on-demand-action';
+
// 타입들은 ./types 에서 export
export type * from './types';