@yolo-croket-dev/entity-v2 0.3.67 → 0.3.69

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.67",
3
+ "version": "0.3.69",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -0,0 +1,26 @@
1
+ /** @description 발송 준비중 자동 변경 대상 셀러 정책의 상태 전이 종류 */
2
+ import { Types } from 'mongoose';
3
+ export declare enum AutoBeforeDeliverySellerPolicyHistoryActionEnum {
4
+ REGISTER = "REGISTER",
5
+ RELEASE = "RELEASE"
6
+ }
7
+ /** @description 결제 후 3분 경과 주문을 발송 준비중으로 자동 변경할 셀러의 현재 정책 */
8
+ export interface AutoBeforeDeliverySellerPolicyEntity {
9
+ _id: Types.ObjectId | string;
10
+ sellerId: Types.ObjectId | string;
11
+ isActive: boolean;
12
+ registeredAt: Date;
13
+ registeredByAdminId: Types.ObjectId | string;
14
+ releasedAt?: Date;
15
+ releasedByAdminId?: Types.ObjectId | string;
16
+ createdAt: Date;
17
+ updatedAt: Date;
18
+ }
19
+ /** @description 발송 준비중 자동 변경 정책의 append-only 감사 이력 */
20
+ export interface AutoBeforeDeliverySellerPolicyHistoryEntity {
21
+ _id: Types.ObjectId | string;
22
+ sellerId: Types.ObjectId | string;
23
+ action: AutoBeforeDeliverySellerPolicyHistoryActionEnum;
24
+ changedAt: Date;
25
+ changedByAdminId: Types.ObjectId | string;
26
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AutoBeforeDeliverySellerPolicyHistoryActionEnum = void 0;
4
+ var AutoBeforeDeliverySellerPolicyHistoryActionEnum;
5
+ (function (AutoBeforeDeliverySellerPolicyHistoryActionEnum) {
6
+ AutoBeforeDeliverySellerPolicyHistoryActionEnum["REGISTER"] = "REGISTER";
7
+ AutoBeforeDeliverySellerPolicyHistoryActionEnum["RELEASE"] = "RELEASE";
8
+ })(AutoBeforeDeliverySellerPolicyHistoryActionEnum || (exports.AutoBeforeDeliverySellerPolicyHistoryActionEnum = AutoBeforeDeliverySellerPolicyHistoryActionEnum = {}));
@@ -2,3 +2,4 @@ export * from './purchased-info-for-seller.entity';
2
2
  export * from './purchased-info-for-partial-refund.entity';
3
3
  export * from './purchased-info.entity';
4
4
  export * from './auto-checking-stock-seller-policy.entity';
5
+ export * from './auto-before-delivery-seller-policy.entity';
@@ -18,3 +18,4 @@ __exportStar(require("./purchased-info-for-seller.entity"), exports);
18
18
  __exportStar(require("./purchased-info-for-partial-refund.entity"), exports);
19
19
  __exportStar(require("./purchased-info.entity"), exports);
20
20
  __exportStar(require("./auto-checking-stock-seller-policy.entity"), exports);
21
+ __exportStar(require("./auto-before-delivery-seller-policy.entity"), exports);
@@ -36,9 +36,11 @@ export interface StoreItemNaverFeedEntity {
36
36
  _id: Types.ObjectId | string;
37
37
  /** @description 상품 아이디 */
38
38
  itemId: Types.ObjectId | string;
39
- /** @description 네이버 쇼핑 mid */
39
+ /** @description 네이버 개별 상품 MID */
40
40
  nvMid?: string;
41
- /** @description 파일 매핑으로 nvMid를 마지막으로 정상 반영한 시각. 기존 데이터는 날짜를 추정하지 않는다. */
41
+ /** @description 네이버 EP naver_product_id에 사용하는 카탈로그 ID */
42
+ nvCatalogId?: string;
43
+ /** @description 상품 MID가 마지막으로 변경·반영된 시각. 기존 데이터는 날짜를 추정하지 않는다. */
42
44
  nvMidUpdatedAt?: Date;
43
45
  /** @description 노출 여부 */
44
46
  isShow: boolean;