@yolo-croket-dev/entity-v2 0.2.123 → 0.2.124-jun.0

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,60 @@
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
+ itemPriceForBuyerWithShippingFee: number;
21
+ /** @description 선불 여부 */
22
+ isPrepay: boolean;
23
+ /** @description 정가 */
24
+ regularPrice?: number;
25
+ /** @description 재고 수 */
26
+ remainCount: number;
27
+ /** @description 메인 카테고리 */
28
+ mainCategory: string;
29
+ /** @description 서브 카테고리 */
30
+ subCategory: string;
31
+ /** @description 국가 */
32
+ nation: string;
33
+ /** @description 브랜드 아이디 */
34
+ brandId?: Types.ObjectId | string;
35
+ /** @description 브랜드명 */
36
+ brandName?: string;
37
+ /** @description 브랜드명 영문 */
38
+ engBrandName?: string;
39
+ /** @description 상품 이미지 리스트 */
40
+ itemImgList: string[];
41
+ /** @description 옵션 정보 */
42
+ optionInfo: StoreItemOptionInfo;
43
+ /** @description 옵션 정보 영문 */
44
+ optionInfo_en: StoreItemOptionInfo;
45
+ /** @description 판매 위치 */
46
+ salesLocation?: string;
47
+ /** @description 판매 여부 */
48
+ isSelling?: boolean;
49
+ /** @description 삭제 여부 */
50
+ isDelete?: boolean;
51
+ /** @description 마지막 동기화 성공 날짜 */
52
+ lastSyncSuccessDate?: Date;
53
+ /** @description 마지막 동기화 실패 날짜 */
54
+ lastSyncFailDate?: Date;
55
+ /** @description 마지막 동기화 성공 여부 */
56
+ isLastSyncSuccess?: boolean;
57
+ /** @description 에러 메시지 */
58
+ error?: any;
59
+ }
60
+ export { BuymaItemEntity };
@@ -0,0 +1,9 @@
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 = {}));
@@ -0,0 +1 @@
1
+ export * from './buyma-item.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("./buyma-item.entity"), exports);
@@ -0,0 +1 @@
1
+ export * from './buyma-item';
@@ -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("./buyma-item"), exports);
package/index.d.ts CHANGED
@@ -58,3 +58,4 @@ 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';
package/index.js CHANGED
@@ -74,3 +74,4 @@ __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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.123",
3
+ "version": "0.2.124-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -20,6 +20,7 @@ export declare enum UserTypeEnum {
20
20
  cron = "cron"
21
21
  }
22
22
  export declare enum PurchasedProcessEnum {
23
+ 예약중 = "reserving",
23
24
  입금전 = "beforeDeposit",
24
25
  주문_대기중 = "waitingOrder",
25
26
  발송전 = "beforeDelivery",
@@ -30,6 +31,7 @@ export declare enum PurchasedProcessEnum {
30
31
  취소됨 = "cancelled"
31
32
  }
32
33
  export declare enum PurchasedProcessV2Enum {
34
+ 예약중 = "reserving",
33
35
  입금전 = "beforeDeposit",
34
36
  주문_대기중 = "waitingOrder",
35
37
  재고_확인중 = "checkingStock",
@@ -22,6 +22,7 @@ var UserTypeEnum;
22
22
  })(UserTypeEnum || (exports.UserTypeEnum = UserTypeEnum = {}));
23
23
  var PurchasedProcessEnum;
24
24
  (function (PurchasedProcessEnum) {
25
+ PurchasedProcessEnum["\uC608\uC57D\uC911"] = "reserving";
25
26
  PurchasedProcessEnum["\uC785\uAE08\uC804"] = "beforeDeposit";
26
27
  PurchasedProcessEnum["\uC8FC\uBB38_\uB300\uAE30\uC911"] = "waitingOrder";
27
28
  PurchasedProcessEnum["\uBC1C\uC1A1\uC804"] = "beforeDelivery";
@@ -33,6 +34,7 @@ var PurchasedProcessEnum;
33
34
  })(PurchasedProcessEnum || (exports.PurchasedProcessEnum = PurchasedProcessEnum = {}));
34
35
  var PurchasedProcessV2Enum;
35
36
  (function (PurchasedProcessV2Enum) {
37
+ PurchasedProcessV2Enum["\uC608\uC57D\uC911"] = "reserving";
36
38
  PurchasedProcessV2Enum["\uC785\uAE08\uC804"] = "beforeDeposit";
37
39
  PurchasedProcessV2Enum["\uC8FC\uBB38_\uB300\uAE30\uC911"] = "waitingOrder";
38
40
  PurchasedProcessV2Enum["\uC7AC\uACE0_\uD655\uC778\uC911"] = "checkingStock";