@yolo-croket-dev/entity-v2 0.2.115 → 0.2.117-sj
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/app-bulk-push-log/app-bulk-push-log.entity.d.ts +7 -1
- package/app-bulk-push-log/app-bulk-push-log.entity.js +1 -0
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/naver-brand-dictionary/index.d.ts +1 -0
- package/naver-brand-dictionary/index.js +17 -0
- package/naver-brand-dictionary/naver-brand-dictionary.entity.d.ts +19 -0
- package/naver-brand-dictionary/naver-brand-dictionary.entity.js +2 -0
- package/package.json +2 -2
- package/store-item-naver-feed/index.d.ts +1 -0
- package/store-item-naver-feed/index.js +17 -0
- package/store-item-naver-feed/store-item-naver-feed.entity.d.ts +37 -0
- package/store-item-naver-feed/store-item-naver-feed.entity.js +13 -0
- package/time-deal/time-deal-for-admin.entity.d.ts +2 -0
- package/user/user.entity.d.ts +12 -0
|
@@ -2,13 +2,17 @@ import { Types } from 'mongoose';
|
|
|
2
2
|
export declare enum AppBulkPushLogTypeEnum {
|
|
3
3
|
검색쿼리 = "searchQuery",
|
|
4
4
|
엑셀 = "excel",
|
|
5
|
-
엑셀_예약 = "excel_reservation"
|
|
5
|
+
엑셀_예약 = "excel_reservation",
|
|
6
|
+
타임딜 = "timeDeal"
|
|
6
7
|
}
|
|
7
8
|
export declare enum AppBulkPushLogProcessEnum {
|
|
8
9
|
대기 = "ready",
|
|
9
10
|
진행중 = "ing",
|
|
10
11
|
완료 = "done"
|
|
11
12
|
}
|
|
13
|
+
export interface TimeDealInfo {
|
|
14
|
+
timeDealId: Types.ObjectId;
|
|
15
|
+
}
|
|
12
16
|
export interface AppPushInfo {
|
|
13
17
|
title: string;
|
|
14
18
|
content: string;
|
|
@@ -85,5 +89,7 @@ export default interface AppBulkPushLogEntity {
|
|
|
85
89
|
lastSendDate?: Date;
|
|
86
90
|
/** 발송 오류 이유 */
|
|
87
91
|
errorReason?: string;
|
|
92
|
+
/** 타임딜 */
|
|
93
|
+
timeDealInfo?: TimeDealInfo;
|
|
88
94
|
}
|
|
89
95
|
export { AppBulkPushLogEntity };
|
|
@@ -6,6 +6,7 @@ var AppBulkPushLogTypeEnum;
|
|
|
6
6
|
AppBulkPushLogTypeEnum["\uAC80\uC0C9\uCFFC\uB9AC"] = "searchQuery";
|
|
7
7
|
AppBulkPushLogTypeEnum["\uC5D1\uC140"] = "excel";
|
|
8
8
|
AppBulkPushLogTypeEnum["\uC5D1\uC140_\uC608\uC57D"] = "excel_reservation";
|
|
9
|
+
AppBulkPushLogTypeEnum["\uD0C0\uC784\uB51C"] = "timeDeal";
|
|
9
10
|
})(AppBulkPushLogTypeEnum || (exports.AppBulkPushLogTypeEnum = AppBulkPushLogTypeEnum = {}));
|
|
10
11
|
var AppBulkPushLogProcessEnum;
|
|
11
12
|
(function (AppBulkPushLogProcessEnum) {
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -70,3 +70,5 @@ __exportStar(require("./store-item.modules"), exports);
|
|
|
70
70
|
__exportStar(require("./attribution-touch"), exports);
|
|
71
71
|
__exportStar(require("./attribution-history"), exports);
|
|
72
72
|
__exportStar(require("./cart-push-log"), exports);
|
|
73
|
+
__exportStar(require("./naver-brand-dictionary"), exports);
|
|
74
|
+
__exportStar(require("./store-item-naver-feed"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './naver-brand-dictionary.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("./naver-brand-dictionary.entity"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
/**
|
|
3
|
+
* @author sj
|
|
4
|
+
* @description 네이버 브랜드 사전 데이터
|
|
5
|
+
*/
|
|
6
|
+
export interface NaverBrandDictionaryEntity {
|
|
7
|
+
/** @description 네이버 브랜드 고유 아이디 */
|
|
8
|
+
_id: Types.ObjectId | string;
|
|
9
|
+
/** @description 브랜드 아이디 */
|
|
10
|
+
brandId: Types.ObjectId | string;
|
|
11
|
+
/** @description 브랜드 이름 */
|
|
12
|
+
naverBrandName: string;
|
|
13
|
+
/** @description 메이커 이름 */
|
|
14
|
+
naverMakerName: string;
|
|
15
|
+
/** @description 저장날짜 */
|
|
16
|
+
regDate: Date;
|
|
17
|
+
/** @description 마지막 수정일 */
|
|
18
|
+
lastModifyDate?: Date;
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/entity-v2",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.117-sj",
|
|
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 @@
|
|
|
1
|
+
export * from './store-item-naver-feed.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("./store-item-naver-feed.entity"), exports);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export declare enum StoreItemNaverFeedSyncStatusEnum {
|
|
3
|
+
SUCCESS = "SUCCESS",
|
|
4
|
+
FAIL = "FAIL"
|
|
5
|
+
}
|
|
6
|
+
export declare enum StoreItemNaverFeedConditionEnum {
|
|
7
|
+
신상품 = "\uC2E0\uC0C1\uD488",
|
|
8
|
+
중고 = "\uC911\uACE0"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @author sj
|
|
12
|
+
* @description 네이버 피드 상품 데이터
|
|
13
|
+
*/
|
|
14
|
+
export interface StoreItemNaverFeedEntity {
|
|
15
|
+
/** @description 네이버 브랜드 고유 아이디 */
|
|
16
|
+
_id: Types.ObjectId | string;
|
|
17
|
+
/** @description 상품 아이디 */
|
|
18
|
+
itemId: Types.ObjectId | string;
|
|
19
|
+
nvMid?: string;
|
|
20
|
+
isShow: boolean;
|
|
21
|
+
customItemName?: string;
|
|
22
|
+
gptItemName?: string;
|
|
23
|
+
brand?: string;
|
|
24
|
+
maker?: string;
|
|
25
|
+
shippingOrigin?: string;
|
|
26
|
+
condition?: StoreItemNaverFeedConditionEnum;
|
|
27
|
+
manufactureDefineNumber?: string;
|
|
28
|
+
naverCategory?: string;
|
|
29
|
+
syncStatus: StoreItemNaverFeedSyncStatusEnum;
|
|
30
|
+
syncFailedReason?: string;
|
|
31
|
+
syncFailedDate?: Date;
|
|
32
|
+
editEventWords?: string;
|
|
33
|
+
/** @description 저장날짜 */
|
|
34
|
+
regDate: Date;
|
|
35
|
+
/** @description 마지막 수정일 */
|
|
36
|
+
lastModifyDate?: Date;
|
|
37
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoreItemNaverFeedConditionEnum = exports.StoreItemNaverFeedSyncStatusEnum = void 0;
|
|
4
|
+
var StoreItemNaverFeedSyncStatusEnum;
|
|
5
|
+
(function (StoreItemNaverFeedSyncStatusEnum) {
|
|
6
|
+
StoreItemNaverFeedSyncStatusEnum["SUCCESS"] = "SUCCESS";
|
|
7
|
+
StoreItemNaverFeedSyncStatusEnum["FAIL"] = "FAIL";
|
|
8
|
+
})(StoreItemNaverFeedSyncStatusEnum || (exports.StoreItemNaverFeedSyncStatusEnum = StoreItemNaverFeedSyncStatusEnum = {}));
|
|
9
|
+
var StoreItemNaverFeedConditionEnum;
|
|
10
|
+
(function (StoreItemNaverFeedConditionEnum) {
|
|
11
|
+
StoreItemNaverFeedConditionEnum["\uC2E0\uC0C1\uD488"] = "\uC2E0\uC0C1\uD488";
|
|
12
|
+
StoreItemNaverFeedConditionEnum["\uC911\uACE0"] = "\uC911\uACE0";
|
|
13
|
+
})(StoreItemNaverFeedConditionEnum || (exports.StoreItemNaverFeedConditionEnum = StoreItemNaverFeedConditionEnum = {}));
|
|
@@ -23,5 +23,7 @@ export default interface TimeDealEntityForAdmin {
|
|
|
23
23
|
storeItemLastDeadLine: Date;
|
|
24
24
|
/** @description 타임딜 관련 상품 리스트 */
|
|
25
25
|
storeItems: TimeDealStoreItemInfo[];
|
|
26
|
+
/** @description 타임딜 앱 푸시 이미지 - 푸시알림 발송 시 사용되는 이미지 */
|
|
27
|
+
appPushImageUrl?: string;
|
|
26
28
|
}
|
|
27
29
|
export { TimeDealEntityForAdmin };
|
package/user/user.entity.d.ts
CHANGED
|
@@ -65,6 +65,18 @@ export interface UserReceive {
|
|
|
65
65
|
brandNewsAppPush?: boolean;
|
|
66
66
|
/** @description 브랜드 소식 앱 푸시 변경 시간 */
|
|
67
67
|
lastModifyDate_brandNewsAppPush?: Date;
|
|
68
|
+
/** @description 앱 시스템 알림 동의 여부 */
|
|
69
|
+
systemAppPush?: boolean;
|
|
70
|
+
/** @description 앱 시스템 알림 동의 마지막 수정일 - systemAppPush 값이 변경 된 날짜 / 동일한 값으로 수정 요청 시 변경 X */
|
|
71
|
+
lastModifyDate_systemAppPush?: Date;
|
|
72
|
+
/** @description 타임딜 앱 푸시 동의 여부 */
|
|
73
|
+
timeDealAppPush?: boolean;
|
|
74
|
+
/** @description 타임딜 앱 푸시 변경 시간 */
|
|
75
|
+
lastModifyDate_timeDealAppPush?: Date;
|
|
76
|
+
/** @description 야간 앱 푸시 동의 여부 */
|
|
77
|
+
nightAppPush?: boolean;
|
|
78
|
+
/** @description 야간 앱 푸시 변경 시간 */
|
|
79
|
+
lastModifyDate_nightAppPush?: Date;
|
|
68
80
|
}
|
|
69
81
|
export interface UserPromotionCode {
|
|
70
82
|
/** @description 나의 코드 */
|