@yolo-croket-dev/entity-v2 0.0.111-jun.4 → 0.0.111
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/package.json +1 -1
- package/seller-ad-coupon-request-log/index.d.ts +0 -1
- package/seller-ad-coupon-request-log/index.js +0 -17
- package/seller-ad-coupon-request-log/seller-ad-coupon-request-log.entity.d.ts +0 -43
- package/seller-ad-coupon-request-log/seller-ad-coupon-request-log.entity.js +0 -13
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './seller-ad-coupon-request-log.entity';
|
|
@@ -1,17 +0,0 @@
|
|
|
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("./seller-ad-coupon-request-log.entity"), exports);
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Types } from 'mongoose';
|
|
2
|
-
export declare enum SellerAdCouponRequestLogTargetEnum {
|
|
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 SellerAdCouponRequestLog {
|
|
19
|
-
_id: string | Types.ObjectId;
|
|
20
|
-
/** 셀러 아이디 */
|
|
21
|
-
sellerId: string | Types.ObjectId;
|
|
22
|
-
/** 적용 대상 */
|
|
23
|
-
target: SellerAdCouponRequestLogTargetEnum;
|
|
24
|
-
/** target 이 one 일 경우 적용되는 대상 상품 아이디 */
|
|
25
|
-
itemId?: string | Types.ObjectId;
|
|
26
|
-
/** 광고 쿠폰 종류 price or rate */
|
|
27
|
-
adCouponType: SellerAdCouponRequestLogCouponTypeEnum;
|
|
28
|
-
/** 광고 쿠폰 종류 price 일 경우 필수 */
|
|
29
|
-
price?: number;
|
|
30
|
-
/** 광고 쿠폰 종류 rate 일 경우 필수 */
|
|
31
|
-
rate?: number;
|
|
32
|
-
/** 쿠폰 적용 시 최대 할인액 한도 (adCouponType === rate)일 시 데이터 있을 수 있음 */
|
|
33
|
-
discountMaxLimit?: number;
|
|
34
|
-
/** 쿠폰 적용 상품 가격대 제한 여부 */
|
|
35
|
-
isAdCouponItemPriceRange: boolean;
|
|
36
|
-
/** 쿠폰 적용 상품 가격대 */
|
|
37
|
-
adCouponItemPriceRange: AdCouponItemPriceRange;
|
|
38
|
-
/** 쿠폰 적용 기간 */
|
|
39
|
-
adCouponPeriod: AdCouponPeriod;
|
|
40
|
-
/** 등록일 */
|
|
41
|
-
regDate: Date;
|
|
42
|
-
}
|
|
43
|
-
export { SellerAdCouponRequestLog };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SellerAdCouponRequestLogCouponTypeEnum = exports.SellerAdCouponRequestLogTargetEnum = void 0;
|
|
4
|
-
var SellerAdCouponRequestLogTargetEnum;
|
|
5
|
-
(function (SellerAdCouponRequestLogTargetEnum) {
|
|
6
|
-
SellerAdCouponRequestLogTargetEnum["ALL"] = "ALL";
|
|
7
|
-
SellerAdCouponRequestLogTargetEnum["ONE"] = "ONE";
|
|
8
|
-
})(SellerAdCouponRequestLogTargetEnum || (exports.SellerAdCouponRequestLogTargetEnum = SellerAdCouponRequestLogTargetEnum = {}));
|
|
9
|
-
var SellerAdCouponRequestLogCouponTypeEnum;
|
|
10
|
-
(function (SellerAdCouponRequestLogCouponTypeEnum) {
|
|
11
|
-
SellerAdCouponRequestLogCouponTypeEnum["PRICE"] = "PRICE";
|
|
12
|
-
SellerAdCouponRequestLogCouponTypeEnum["RATE"] = "RATE";
|
|
13
|
-
})(SellerAdCouponRequestLogCouponTypeEnum || (exports.SellerAdCouponRequestLogCouponTypeEnum = SellerAdCouponRequestLogCouponTypeEnum = {}));
|