@yolo-croket-dev/entity-v2 0.2.124-jun.13 → 0.2.124-jun.15

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.2.124-jun.13",
3
+ "version": "0.2.124-jun.15",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -2,6 +2,7 @@ import { Types } from 'mongoose';
2
2
  import { SelectionFrameDataTypeEnum } from '@yolo-croket-dev/entity/src/selection-frame-data';
3
3
  import { SettleVersionEnum } from '@yolo-croket-dev/entity/src/settle';
4
4
  import { PayTryLogPastReservationInfo } from '@yolo-croket-dev/entity/src/pay-try-log/pay-try-log.entity';
5
+ import { NicepayBillingApproveResponse } from '../nicepay-billing-log/nicepay-billing-log.entity';
5
6
  import { PartialRefundProcessEnum } from '../partial-refund';
6
7
  import { PurchasedInfoTosspaymentsRefund } from './purchased-info.entity/p-info-tosspayments-refund.vo';
7
8
  export declare enum CardQuotaEnum {
@@ -22,7 +23,7 @@ export declare enum CardQuotaEnum {
22
23
  export declare enum ReservationCancelTypeEnum {
23
24
  /** 예약 매칭 실패로 취소됨 */
24
25
  reserveMatchFailed = "reserveMatchFailed",
25
- /** 예약 취소 요청으로 취소됨*/
26
+ /** 예약 취소 요청으로 취소됨 */
26
27
  reserveCancelAsk = "reserveCancelAsk"
27
28
  }
28
29
  export declare enum ReservationCancelReasonEnum {
@@ -922,6 +923,8 @@ export interface PurchasedReservationInfo {
922
923
  paymentFailureLogs?: ReservationPaymentFailureLog[];
923
924
  /** 카드 할부 개월 수 */
924
925
  cardQuota: CardQuotaEnum;
926
+ /** 결제 승인 성공 응답 */
927
+ approveSuccessResponse?: NicepayBillingApproveResponse;
925
928
  }
926
929
  export interface ReservationPaymentFailureLog {
927
930
  reason: string;
@@ -21,7 +21,7 @@ var ReservationCancelTypeEnum;
21
21
  (function (ReservationCancelTypeEnum) {
22
22
  /** 예약 매칭 실패로 취소됨 */
23
23
  ReservationCancelTypeEnum["reserveMatchFailed"] = "reserveMatchFailed";
24
- /** 예약 취소 요청으로 취소됨*/
24
+ /** 예약 취소 요청으로 취소됨 */
25
25
  ReservationCancelTypeEnum["reserveCancelAsk"] = "reserveCancelAsk";
26
26
  })(ReservationCancelTypeEnum || (exports.ReservationCancelTypeEnum = ReservationCancelTypeEnum = {}));
27
27
  var ReservationCancelReasonEnum;
@@ -46,7 +46,11 @@ export declare enum PurchasedInfoLogTypeEnum {
46
46
  /** 관리자 쿠폰 할인 가격 변경 */
47
47
  MANAGE_EDIT_COUPON_DISCOUNT_PRICE = "MANAGE_EDIT_COUPON_DISCOUNT_PRICE",
48
48
  /** 관리자 쿠폰 삭제 */
49
- MANAGE_DELETE_COUPON_INFO = "MANAGE_DELETE_COUPON_INFO"
49
+ MANAGE_DELETE_COUPON_INFO = "MANAGE_DELETE_COUPON_INFO",
50
+ /** 구매자의 예약 취소 */
51
+ CANCEL_RESERVATION_BY_BUYER = "CANCEL_RESERVATION_BY_BUYER",
52
+ /** 관리자의 예약 취소 */
53
+ CANCEL_RESERVATION_BY_ADMIN = "CANCEL_RESERVATION_BY_ADMIN"
50
54
  }
51
55
  export declare enum PurchasedInfoLogVersionEnum {
52
56
  V1 = 1,
@@ -59,6 +59,10 @@ var PurchasedInfoLogTypeEnum;
59
59
  PurchasedInfoLogTypeEnum["MANAGE_EDIT_COUPON_DISCOUNT_PRICE"] = "MANAGE_EDIT_COUPON_DISCOUNT_PRICE";
60
60
  /** 관리자 쿠폰 삭제 */
61
61
  PurchasedInfoLogTypeEnum["MANAGE_DELETE_COUPON_INFO"] = "MANAGE_DELETE_COUPON_INFO";
62
+ /** 구매자의 예약 취소 */
63
+ PurchasedInfoLogTypeEnum["CANCEL_RESERVATION_BY_BUYER"] = "CANCEL_RESERVATION_BY_BUYER";
64
+ /** 관리자의 예약 취소 */
65
+ PurchasedInfoLogTypeEnum["CANCEL_RESERVATION_BY_ADMIN"] = "CANCEL_RESERVATION_BY_ADMIN";
62
66
  })(PurchasedInfoLogTypeEnum || (exports.PurchasedInfoLogTypeEnum = PurchasedInfoLogTypeEnum = {}));
63
67
  var PurchasedInfoLogVersionEnum;
64
68
  (function (PurchasedInfoLogVersionEnum) {