@yolo-croket-dev/entity-v2 0.0.132 → 0.0.133-receipt-coupon-1

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.132",
3
+ "version": "0.0.133-receipt-coupon-1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -3,7 +3,7 @@ export interface ReceiptCouponTemplateDiscountRateInfo {
3
3
  /** @description 할인율 */
4
4
  rate: number;
5
5
  /** @description 최대 할인 금액 */
6
- maxDiscountPrice?: number;
6
+ maxDiscountPrice: number;
7
7
  }
8
8
  export interface ReceiptCouponTemplateDiscountPriceInfo {
9
9
  /** @description 할인 금액 */
@@ -41,9 +41,9 @@ export default interface ReceiptCouponTemplateEntity {
41
41
  _id: Types.ObjectId | string;
42
42
  /** @description 사용자가 쿠폰을 발급할 수 있는지 여부 */
43
43
  isCanUserIssue: boolean;
44
- /** @description 쿠폰 정보를 수정 중인지 여부 */
44
+ /** @description 쿠폰 템플릿 수정 여부 */
45
45
  isEdit: boolean;
46
- /** @description 쿠폰이 일시 정지 상태인지 여부 */
46
+ /** @description 쿠폰 템플릿 정지 상태 여부 */
47
47
  isPause: boolean;
48
48
  /** @description 쿠폰 할인 방식 (율 할인 or 금액 할인) */
49
49
  discountType: ReceiptCouponTemplateDiscountTypeEnum;
@@ -55,9 +55,9 @@ export default interface ReceiptCouponTemplateEntity {
55
55
  couponName: string;
56
56
  /** @description 쿠폰 코드 */
57
57
  couponCode: string;
58
- /** @description 쿠폰 사용 조건 정보 (최소 결제 금액 등) */
58
+ /** @description 쿠폰 사용 조건 정보 */
59
59
  useConditionInfo: ReceiptCouponTemplateUseConditionInfo;
60
- /** @description 쿠폰 발급 수량이 무제한인지 여부 */
60
+ /** @description 쿠폰 발급 무제한 여부 */
61
61
  isInfinity: boolean;
62
62
  /** @description 쿠폰 발급 가능 기간 정보 */
63
63
  canIssuePeriodInfo: ReceiptCouponTemplateCanIssuePeriodInfo;