@yolo-croket-dev/entity-v2 0.0.111-hj-4 → 0.0.111-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.
@@ -9,6 +9,8 @@ export declare enum ImageUsageTypeEnum {
9
9
  'splash_screen' = "splash_screen",
10
10
  'selection_img' = "selection_img",
11
11
  'selection_first_enterance_guide_img' = "selection_first_enterance_guide_img",
12
+ 'ask' = "ask",
13
+ 'md_theme' = "md_theme",
12
14
  'origin_webp' = "origin_webp",
13
15
  'link_tab_img_title' = "link_tab_img_title",
14
16
  'normal_webp' = "normal_webp",
@@ -12,6 +12,8 @@ var ImageUsageTypeEnum;
12
12
  ImageUsageTypeEnum["splash_screen"] = "splash_screen";
13
13
  ImageUsageTypeEnum["selection_img"] = "selection_img";
14
14
  ImageUsageTypeEnum["selection_first_enterance_guide_img"] = "selection_first_enterance_guide_img";
15
+ ImageUsageTypeEnum["ask"] = "ask";
16
+ ImageUsageTypeEnum["md_theme"] = "md_theme";
15
17
  // 원본 이미지 webp로만 변환
16
18
  ImageUsageTypeEnum["origin_webp"] = "origin_webp";
17
19
  ImageUsageTypeEnum["link_tab_img_title"] = "link_tab_img_title";
package/index.d.ts CHANGED
@@ -22,4 +22,3 @@ export * from './partial-refund';
22
22
  export * from './purchased-info';
23
23
  export * from './time-deal';
24
24
  export * from './purchase-receipt';
25
- export * from './auto-sold-out-store-item-log';
package/index.js CHANGED
@@ -38,4 +38,3 @@ __exportStar(require("./partial-refund"), exports);
38
38
  __exportStar(require("./purchased-info"), exports);
39
39
  __exportStar(require("./time-deal"), exports);
40
40
  __exportStar(require("./purchase-receipt"), exports);
41
- __exportStar(require("./auto-sold-out-store-item-log"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.111-hj-4",
3
+ "version": "0.0.111-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -0,0 +1 @@
1
+ export * from './seller-coupon-request-log.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("./auto-sold-out-store-item-log.entity"), exports);
17
+ __exportStar(require("./seller-coupon-request-log.entity"), exports);
@@ -0,0 +1,42 @@
1
+ import { Types } from 'mongoose';
2
+ export declare enum SellerCouponRequestLogTargetEnum {
3
+ ALL = "ALL",
4
+ ONE = "ONE"
5
+ }
6
+ export declare enum SellerAdCouponRequestLogCouponTypeEnum {
7
+ PRICE = "PRICE",
8
+ RATE = "RATE"
9
+ }
10
+ export interface AdCouponItemPriceRange {
11
+ min: number;
12
+ max: number;
13
+ }
14
+ export interface AdCouponPeriod {
15
+ start: Date;
16
+ end: Date;
17
+ }
18
+ export default interface SellerCouponRequestLog {
19
+ _id: Types.ObjectId;
20
+ /** 셀러 아이디 */
21
+ sellerId: Types.ObjectId;
22
+ /** 적용 대상 */
23
+ target: SellerCouponRequestLogTargetEnum;
24
+ /** target 이 one 일 경우 적용되는 대상 상품 아이디 */
25
+ itemId?: Types.ObjectId;
26
+ /** 광고 쿠폰 종류 price or rate */
27
+ adCouponType: SellerAdCouponRequestLogCouponTypeEnum;
28
+ /** 광고 쿠폰 종류 price 일 경우 필수 */
29
+ price?: number;
30
+ /** 광고 쿠폰 종류 rate 일 경우 필수 */
31
+ rate?: number;
32
+ /** 쿠폰 적용 시 최대 할인액 한도 */
33
+ discountMaxLimit?: number;
34
+ /** 쿠폰 적용 상품 가격대 제한 여부 */
35
+ isAdCouponItemPriceRange: boolean;
36
+ /** 쿠폰 적용 상품 가격대 */
37
+ adCouponItemPriceRange: AdCouponItemPriceRange;
38
+ /** 쿠폰 적용 기간 */
39
+ adCouponPeriod: AdCouponPeriod;
40
+ /** 등록일 */
41
+ regDate: Date;
42
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SellerAdCouponRequestLogCouponTypeEnum = exports.SellerCouponRequestLogTargetEnum = void 0;
4
+ var SellerCouponRequestLogTargetEnum;
5
+ (function (SellerCouponRequestLogTargetEnum) {
6
+ SellerCouponRequestLogTargetEnum["ALL"] = "ALL";
7
+ SellerCouponRequestLogTargetEnum["ONE"] = "ONE";
8
+ })(SellerCouponRequestLogTargetEnum || (exports.SellerCouponRequestLogTargetEnum = SellerCouponRequestLogTargetEnum = {}));
9
+ var SellerAdCouponRequestLogCouponTypeEnum;
10
+ (function (SellerAdCouponRequestLogCouponTypeEnum) {
11
+ SellerAdCouponRequestLogCouponTypeEnum["PRICE"] = "PRICE";
12
+ SellerAdCouponRequestLogCouponTypeEnum["RATE"] = "RATE";
13
+ })(SellerAdCouponRequestLogCouponTypeEnum || (exports.SellerAdCouponRequestLogCouponTypeEnum = SellerAdCouponRequestLogCouponTypeEnum = {}));
@@ -1,16 +0,0 @@
1
- import { Types } from 'mongoose';
2
- /** @description 자동 품절된 상품 로그 entity */
3
- export default interface AutoSoldOutStoreItemLogEntity {
4
- _id: Types.ObjectId | string;
5
- itemId: Types.ObjectId | string;
6
- sellerId: Types.ObjectId | string;
7
- storeId: Types.ObjectId | string;
8
- itemName: string;
9
- /** @description 품절된 옵션 정보 */
10
- soldOutOptionNameList: string[];
11
- regDate: Date;
12
- itemImg: string | Types.ObjectId;
13
- buyerId: string | Types.ObjectId;
14
- refundId: Types.ObjectId | string;
15
- }
16
- export { AutoSoldOutStoreItemLogEntity };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './auto-sold-out-store-item-log.entity';