@yolo-croket-dev/entity-v2 0.2.43-sj4 → 0.2.43-sj6

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.
@@ -0,0 +1,14 @@
1
+ import { Types } from 'mongoose';
2
+ export default interface BrandClusterEntity {
3
+ /** @description 브랜드 클러스터 고유 아이디 */
4
+ _id: Types.ObjectId | string;
5
+ /** @description 브랜드 이름 */
6
+ brandName: string;
7
+ /** @description 브랜드 영문 이름 */
8
+ engBrandName?: string;
9
+ /** @description 서브 브랜드 이름 */
10
+ subBrandNames?: string[];
11
+ /** @description 저장날짜 */
12
+ regDate: Date;
13
+ }
14
+ export { BrandClusterEntity };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './brand-cluster.entity';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./brand-cluster.entity"), exports);
@@ -12,26 +12,40 @@ export declare enum InspectionStatusEnum {
12
12
  REJECTED = "REJECTED"
13
13
  }
14
14
  export interface RequestedSellerInfo {
15
+ /** @description 요청한 셀러 아이디 */
15
16
  sellerId: Types.ObjectId | string;
17
+ /** @description 요청 날짜 */
16
18
  regDate: Date;
17
19
  }
20
+ export interface ApprovedBrandInfo {
21
+ /** @description 승인 확정 된 브랜드 이름 */
22
+ approvedBrandName: string;
23
+ /** @description 승인 확정 된 영문 브랜드 이름 */
24
+ approvedEngBrandName?: string;
25
+ }
26
+ export interface BrandInspectionResolutionInfo {
27
+ /** @description 관리자 정보 */
28
+ managerInfo: ManagerInfo;
29
+ /** @description 검토 일자 */
30
+ inspectionDate: Date;
31
+ /** @description 검토 알림 (셀러에게 보내는 문구) */
32
+ inspectionResultMessage?: string;
33
+ /** @description 승인 시 최종 반영된 브랜드 값 */
34
+ approvedBrandInfo?: ApprovedBrandInfo;
35
+ }
18
36
  export default interface BrandInspectionEntity {
19
37
  /** @description 브랜드 검토 고유 아이디 */
20
38
  _id: Types.ObjectId | string;
21
- /** @description 브랜드 이름 */
22
- brandName: string;
23
- /** @description 브랜드 영문 이름 */
24
- engBrandName?: string;
39
+ /** @description 브랜드 이름 (셀러 요청 값) */
40
+ requestedBrandName: string;
41
+ /** @description 브랜드 영문 이름 (셀러 요청 값)*/
42
+ requestedEngBrandName?: string;
25
43
  /** @description 검토 상태 */
26
44
  inspectionStatus: InspectionStatusEnum;
27
- /** @description 검토 알림 (셀러에게 보내는 문구) */
28
- inspectionResultMessage?: string;
29
- /** @description 관리자 정보 */
30
- managerInfo?: ManagerInfo;
31
45
  /** @description 요청 셀러 정보 */
32
46
  requestedSellerInfos: RequestedSellerInfo[];
33
- /** @description 검토 일자 (검토 완료 시 저장) */
34
- inspectionDate?: Date;
47
+ /** @description 승인/반려 최종 결과 */
48
+ resolutionInfo?: BrandInspectionResolutionInfo;
35
49
  /** @description 저장날짜 */
36
50
  regDate: Date;
37
51
  }
@@ -3,7 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InspectionStatusEnum = void 0;
4
4
  var InspectionStatusEnum;
5
5
  (function (InspectionStatusEnum) {
6
+ // 대기중
6
7
  InspectionStatusEnum["WAITING"] = "WAITING";
8
+ // 승인
7
9
  InspectionStatusEnum["APPROVED"] = "APPROVED";
10
+ // 반려
8
11
  InspectionStatusEnum["REJECTED"] = "REJECTED";
9
12
  })(InspectionStatusEnum || (exports.InspectionStatusEnum = InspectionStatusEnum = {}));
package/index.d.ts CHANGED
@@ -47,3 +47,4 @@ export * from './store-item-option-restock-log';
47
47
  export * from './daily-random-coupon';
48
48
  export * from './event-banner';
49
49
  export * from './brand-inspection';
50
+ export * from './brand-cluster';
package/index.js CHANGED
@@ -63,3 +63,4 @@ __exportStar(require("./store-item-option-restock-log"), exports);
63
63
  __exportStar(require("./daily-random-coupon"), exports);
64
64
  __exportStar(require("./event-banner"), exports);
65
65
  __exportStar(require("./brand-inspection"), exports);
66
+ __exportStar(require("./brand-cluster"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.43-sj4",
3
+ "version": "0.2.43-sj6",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",