@yolo-croket-dev/entity-v2 0.0.111-jun.3 → 0.0.111-jun.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.111-jun.3",
3
+ "version": "0.0.111-jun.5",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -16,13 +16,13 @@ export interface AdCouponPeriod {
16
16
  end: Date;
17
17
  }
18
18
  export default interface SellerAdCouponRequestLog {
19
- _id: Types.ObjectId;
19
+ _id: string | Types.ObjectId;
20
20
  /** 셀러 아이디 */
21
21
  sellerId: string | Types.ObjectId;
22
22
  /** 적용 대상 */
23
23
  target: SellerAdCouponRequestLogTargetEnum;
24
24
  /** target 이 one 일 경우 적용되는 대상 상품 아이디 */
25
- itemId?: Types.ObjectId;
25
+ itemId?: string | Types.ObjectId;
26
26
  /** 광고 쿠폰 종류 price or rate */
27
27
  adCouponType: SellerAdCouponRequestLogCouponTypeEnum;
28
28
  /** 광고 쿠폰 종류 price 일 경우 필수 */
@@ -34,7 +34,7 @@ export default interface SellerAdCouponRequestLog {
34
34
  /** 쿠폰 적용 상품 가격대 제한 여부 */
35
35
  isAdCouponItemPriceRange: boolean;
36
36
  /** 쿠폰 적용 상품 가격대 */
37
- adCouponItemPriceRange: AdCouponItemPriceRange;
37
+ adCouponItemPriceRange?: AdCouponItemPriceRange;
38
38
  /** 쿠폰 적용 기간 */
39
39
  adCouponPeriod: AdCouponPeriod;
40
40
  /** 등록일 */