@yolo-croket-dev/entity-v2 0.2.123-hj-2 → 0.2.123-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.
@@ -0,0 +1,19 @@
1
+ import { Types } from 'mongoose';
2
+ /**
3
+ * @author sj
4
+ * @description 체험단 상품 데이터
5
+ */
6
+ export interface CampaignLinkEntity {
7
+ /** @description 네이버 브랜드 고유 아이디 */
8
+ _id: Types.ObjectId | string;
9
+ /** @description 체험단 고유 아이디 */
10
+ campaignStoreItemId: Types.ObjectId | string;
11
+ /** @description 체험단 고유 아이디 */
12
+ userId: Types.ObjectId | string;
13
+ /** @description 고유 아이디 */
14
+ uniqId: string;
15
+ /** @description 홍보 링크 */
16
+ shortUrl: string;
17
+ /** @description 저장날짜 */
18
+ regDate: Date;
19
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from './campaign-link.entity';
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./buyma-item"), exports);
17
+ __exportStar(require("./campaign-link.entity"), exports);
@@ -0,0 +1 @@
1
+ export * from './store-item-group-view-item.entity';
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./buyma-item.entity"), exports);
17
+ __exportStar(require("./store-item-group-view-item.entity"), exports);
@@ -0,0 +1,15 @@
1
+ import { Types } from 'mongoose';
2
+ /**
3
+ * @author sj
4
+ * @description 체험단 상품 데이터
5
+ */
6
+ export interface CampaignStoreItemEntity {
7
+ /** @description 네이버 브랜드 고유 아이디 */
8
+ _id: Types.ObjectId | string;
9
+ /** @description 상품 아이디 */
10
+ itemId: Types.ObjectId | string;
11
+ /** @description 노출 여부 */
12
+ isShow: boolean;
13
+ /** @description 저장날짜 */
14
+ regDate: Date;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/index.d.ts CHANGED
@@ -58,4 +58,5 @@ export * from './cart-second-push-log';
58
58
  export * from './cart-third-push-log';
59
59
  export * from './store-item-naver-feed';
60
60
  export * from './brand.modules/naver-brand-dictionary';
61
- export * from './buyma-item.modules';
61
+ export * from './campaign-store-item';
62
+ export * from './campaign-link';
package/index.js CHANGED
@@ -74,4 +74,5 @@ __exportStar(require("./cart-second-push-log"), exports);
74
74
  __exportStar(require("./cart-third-push-log"), exports);
75
75
  __exportStar(require("./store-item-naver-feed"), exports);
76
76
  __exportStar(require("./brand.modules/naver-brand-dictionary"), exports);
77
- __exportStar(require("./buyma-item.modules"), exports);
77
+ __exportStar(require("./campaign-store-item"), exports);
78
+ __exportStar(require("./campaign-link"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.123-hj-2",
3
+ "version": "0.2.123-sj",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,54 +0,0 @@
1
- import { Types } from 'mongoose';
2
- import { StoreItemOptionInfo } from '@yolo-croket-dev/entity/src/store-item';
3
- export declare enum BuymaStockTypeEnum {
4
- STOCK_IN_HAND = "stock_in_hand",
5
- OUT_OF_STOCK = "out_of_stock",
6
- PURCHASE_FOR_ORDER = "purchase_for_order"
7
- }
8
- export default interface BuymaItemEntity {
9
- /** @description 아이디 */
10
- _id: Types.ObjectId | string;
11
- /** @description 상품 아이디 - buyma의 reference_number */
12
- storeItemId: Types.ObjectId | string;
13
- /** @description 상품명 */
14
- itemName?: string;
15
- /** @description 상품명 영문 */
16
- itemName_en?: string;
17
- /** @description 성별 */
18
- gender?: string;
19
- /** @description 상품 가격 */
20
- itemPriceForBuyer: number;
21
- /** @description 정가 */
22
- regularPrice: number;
23
- /** @description 재고 수 */
24
- remainCount: number;
25
- /** @description 메인 카테고리 */
26
- mainCategory: string;
27
- /** @description 서브 카테고리 */
28
- subCategory: string;
29
- /** @description 국가 */
30
- nation: string;
31
- /** @description 브랜드 아이디 */
32
- brandId?: Types.ObjectId | string;
33
- /** @description 브랜드명 */
34
- brandName?: string;
35
- /** @description 브랜드명 영문 */
36
- engBrandName?: string;
37
- /** @description 상품 이미지 리스트 */
38
- itemImgList: string[];
39
- /** @description 옵션 정보 */
40
- optionInfo: StoreItemOptionInfo;
41
- /** @description 옵션 정보 영문 */
42
- optionInfo_en: StoreItemOptionInfo;
43
- /** @description 판매 위치 */
44
- salesLocation?: string;
45
- /** @description 마지막 상품정보 업데이트 된 날짜 */
46
- lastUpdateDate?: Date;
47
- /** @description 마지막 api 연동 시도 날짜 */
48
- lastSyncDate?: Date;
49
- /** @description 마지막 api 연동 시도 성공 여부 */
50
- isLastSyncSuccess?: boolean;
51
- /** @description 에러 메시지 */
52
- err?: string;
53
- }
54
- export { BuymaItemEntity };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BuymaStockTypeEnum = void 0;
4
- var BuymaStockTypeEnum;
5
- (function (BuymaStockTypeEnum) {
6
- BuymaStockTypeEnum["STOCK_IN_HAND"] = "stock_in_hand";
7
- BuymaStockTypeEnum["OUT_OF_STOCK"] = "out_of_stock";
8
- BuymaStockTypeEnum["PURCHASE_FOR_ORDER"] = "purchase_for_order";
9
- })(BuymaStockTypeEnum || (exports.BuymaStockTypeEnum = BuymaStockTypeEnum = {}));
@@ -1 +0,0 @@
1
- export * from './buyma-item.entity';
@@ -1 +0,0 @@
1
- export * from './buyma-item';