@yolo-croket-dev/entity-v2 0.3.56 → 0.3.57-sj1

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.56",
3
+ "version": "0.3.57-sj1",
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
+ }
@@ -0,0 +1,26 @@
1
+ /** @description 현지구매중 자동 변경 정책의 상태 전이 종류 */
2
+ import { Types } from 'mongoose';
3
+ export declare enum AutoCheckingStockSellerPolicyHistoryActionEnum {
4
+ REGISTER = "REGISTER",
5
+ RELEASE = "RELEASE"
6
+ }
7
+ /** @description 현지구매중 자동 변경 대상 셀러의 현재 정책 */
8
+ export interface AutoCheckingStockSellerPolicyEntity {
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 AutoCheckingStockSellerPolicyHistoryEntity {
21
+ _id: Types.ObjectId | string;
22
+ sellerId: Types.ObjectId | string;
23
+ action: AutoCheckingStockSellerPolicyHistoryActionEnum;
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.AutoCheckingStockSellerPolicyHistoryActionEnum = void 0;
4
+ var AutoCheckingStockSellerPolicyHistoryActionEnum;
5
+ (function (AutoCheckingStockSellerPolicyHistoryActionEnum) {
6
+ AutoCheckingStockSellerPolicyHistoryActionEnum["REGISTER"] = "REGISTER";
7
+ AutoCheckingStockSellerPolicyHistoryActionEnum["RELEASE"] = "RELEASE";
8
+ })(AutoCheckingStockSellerPolicyHistoryActionEnum || (exports.AutoCheckingStockSellerPolicyHistoryActionEnum = AutoCheckingStockSellerPolicyHistoryActionEnum = {}));
@@ -1,3 +1,4 @@
1
1
  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
+ export * from './auto-checking-stock-seller-policy.entity';
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __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
+ __exportStar(require("./auto-checking-stock-seller-policy.entity"), exports);