@yolo-croket-dev/entity-v2 0.3.39 → 0.3.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.3.39",
3
+ "version": "0.3.41",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -23,4 +23,4 @@
23
23
  },
24
24
  "license": "UNLICENSED",
25
25
  "dependencies": {}
26
- }
26
+ }
@@ -534,6 +534,29 @@ export interface StoreItemCrawlingPurchaseSnapshotInfo {
534
534
  exchangeRepricing?: StoreItemExchangeRepricingOperationInfo;
535
535
  }
536
536
  export type StoreItemTranslationTrigger = 'CREATED' | 'UPDATED';
537
+ export declare enum StoreItemInstantSelectionSyncStateEnum {
538
+ READY = "READY",
539
+ PROCESSING = "PROCESSING",
540
+ SUCCESS = "SUCCESS",
541
+ FAILED = "FAILED",
542
+ SKIPPED = "SKIPPED"
543
+ }
544
+ export declare enum StoreItemInstantSelectionSyncReasonEnum {
545
+ UNSUPPORTED_BRAND = "UNSUPPORTED_BRAND",
546
+ UNSUPPORTED_MAIN_CATEGORY = "UNSUPPORTED_MAIN_CATEGORY",
547
+ SELECTION_FRAME_NOT_FOUND = "SELECTION_FRAME_NOT_FOUND",
548
+ SELECTION_CONNECT_FAILED = "SELECTION_CONNECT_FAILED"
549
+ }
550
+ /** ZOZO USED 상품의 즉시 셀렉션 연결 상태 */
551
+ export interface StoreItemInstantSelectionSyncInfo {
552
+ state: StoreItemInstantSelectionSyncStateEnum;
553
+ stateUpdatedAt: Date;
554
+ attemptCount: number;
555
+ attemptId?: string;
556
+ selectionFrameId?: Types.ObjectId | string;
557
+ reason?: StoreItemInstantSelectionSyncReasonEnum;
558
+ errorMessage?: string;
559
+ }
537
560
  /** 크롤링으로 등록/관리되는 상품의 원본 식별 정보 */
538
561
  export interface StoreItemCrawlingInfo {
539
562
  /** 크롤링 상품 여부 */
@@ -554,6 +577,8 @@ export interface StoreItemCrawlingInfo {
554
577
  purchaseSnapshot?: StoreItemCrawlingPurchaseSnapshotInfo;
555
578
  /** item-crawler 정보 동기화 target 상태 projection */
556
579
  infoSyncState?: StoreItemCrawlingInfoSyncState;
580
+ /** ZOZO USED 상품의 즉시 셀렉션 연결 상태 */
581
+ instantSelectionSync?: StoreItemInstantSelectionSyncInfo;
557
582
  /** 마지막 등록/수정/판매중지 동기화 성공 일자 */
558
583
  lastSyncedAt?: Date;
559
584
  /** item-crawler에서 적용 대기 중인 번역 Job UUID */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StoreItemContentsTypeEnum = exports.FixedContentsPositionEnum = exports.StoreItemOptionTypeEnum = exports.PrecautionCodeEnum = exports.StoreItemImgVersionEnum = exports.ReservationStockModeEnum = exports.StoreItemUsedCurrencyCodeEnum = exports.StoreItemUsedConditionGradeEnum = exports.StoreItemUsedRarityEnum = exports.StoreItemTypeEnum = void 0;
3
+ exports.StoreItemInstantSelectionSyncReasonEnum = exports.StoreItemInstantSelectionSyncStateEnum = exports.StoreItemContentsTypeEnum = exports.FixedContentsPositionEnum = exports.StoreItemOptionTypeEnum = exports.PrecautionCodeEnum = exports.StoreItemImgVersionEnum = exports.ReservationStockModeEnum = exports.StoreItemUsedCurrencyCodeEnum = exports.StoreItemUsedConditionGradeEnum = exports.StoreItemUsedRarityEnum = exports.StoreItemTypeEnum = void 0;
4
4
  var StoreItemTypeEnum;
5
5
  (function (StoreItemTypeEnum) {
6
6
  /** 일반 상품 */
@@ -77,3 +77,18 @@ var StoreItemContentsTypeEnum;
77
77
  StoreItemContentsTypeEnum["img"] = "img";
78
78
  StoreItemContentsTypeEnum["video"] = "video";
79
79
  })(StoreItemContentsTypeEnum || (exports.StoreItemContentsTypeEnum = StoreItemContentsTypeEnum = {}));
80
+ var StoreItemInstantSelectionSyncStateEnum;
81
+ (function (StoreItemInstantSelectionSyncStateEnum) {
82
+ StoreItemInstantSelectionSyncStateEnum["READY"] = "READY";
83
+ StoreItemInstantSelectionSyncStateEnum["PROCESSING"] = "PROCESSING";
84
+ StoreItemInstantSelectionSyncStateEnum["SUCCESS"] = "SUCCESS";
85
+ StoreItemInstantSelectionSyncStateEnum["FAILED"] = "FAILED";
86
+ StoreItemInstantSelectionSyncStateEnum["SKIPPED"] = "SKIPPED";
87
+ })(StoreItemInstantSelectionSyncStateEnum || (exports.StoreItemInstantSelectionSyncStateEnum = StoreItemInstantSelectionSyncStateEnum = {}));
88
+ var StoreItemInstantSelectionSyncReasonEnum;
89
+ (function (StoreItemInstantSelectionSyncReasonEnum) {
90
+ StoreItemInstantSelectionSyncReasonEnum["UNSUPPORTED_BRAND"] = "UNSUPPORTED_BRAND";
91
+ StoreItemInstantSelectionSyncReasonEnum["UNSUPPORTED_MAIN_CATEGORY"] = "UNSUPPORTED_MAIN_CATEGORY";
92
+ StoreItemInstantSelectionSyncReasonEnum["SELECTION_FRAME_NOT_FOUND"] = "SELECTION_FRAME_NOT_FOUND";
93
+ StoreItemInstantSelectionSyncReasonEnum["SELECTION_CONNECT_FAILED"] = "SELECTION_CONNECT_FAILED";
94
+ })(StoreItemInstantSelectionSyncReasonEnum || (exports.StoreItemInstantSelectionSyncReasonEnum = StoreItemInstantSelectionSyncReasonEnum = {}));
@@ -1,5 +1,5 @@
1
1
  import { Types } from 'mongoose';
2
- export type CiProvider = 'INICIS' | 'PORTONE';
2
+ export type CiProvider = 'INICIS' | 'PORTONE' | 'PORTONE_TEST';
3
3
  /**
4
4
  * @author 홍준
5
5
  * @description 사용자와 분리된 컬렉션에 저장되는 AES-256-GCM CI 정보