@yolo-croket-dev/entity-v2 0.0.50 → 0.0.51

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.50",
3
+ "version": "0.0.51",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,5 +1,11 @@
1
1
  import { DeliveryData } from '../purchased-info/purchased-info.entity';
2
2
  import { PartialRefundEntity } from './partial-refund.entity';
3
+ export interface PartialRefundCouponDiscountInfo {
4
+ /** @description 쿠폰 코드 */
5
+ couponCode: string;
6
+ /** @description 쿠폰 할인된 금액 */
7
+ couponDiscountValue: number;
8
+ }
3
9
  export type PartialRefundForAdminEntity = Omit<PartialRefundEntity, 'pastPInfo'> & {
4
10
  /** @description 결제아이디 */
5
11
  PInfoId: string;
@@ -52,6 +58,6 @@ export type PartialRefundForAdminEntity = Omit<PartialRefundEntity, 'pastPInfo'>
52
58
  deliveryData?: DeliveryData;
53
59
  /** @description 사용한 크레딧 */
54
60
  usedCredit?: number;
55
- /** @description 사용한 쿠폰 할인가 */
56
- couponDiscountValue?: number;
61
+ /** @description 사용한 쿠폰 정보 */
62
+ couponDiscountInfo: PartialRefundCouponDiscountInfo;
57
63
  };